Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't copy the file if no conversion is needed #3721

Conversation

patrickomeara
Copy link
Contributor

I'm processing over 700k files with media library now and this sticks out as an easy optimisation.

@timvandijck timvandijck self-assigned this Nov 7, 2024
@timvandijck
Copy link
Member

Looks like a good improvement, thanks!

@timvandijck timvandijck merged commit 1c476bb into spatie:main Nov 8, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants