Skip to content

Conversation

iizno
Copy link
Contributor

@iizno iizno commented Sep 18, 2025

Refactored getFileNameWithSuffix to use a nameCounters array for tracking duplicate filenames, improving performance and simplifying logic for generating unique filenames in zip archives.

Fix #3854

Refactored getFileNameWithSuffix to use a nameCounters array for tracking duplicate filenames, improving performance and simplifying logic for generating unique filenames in zip archives.
@freekmurze freekmurze merged commit 9d1e973 into spatie:main Sep 19, 2025
19 checks passed
@freekmurze
Copy link
Member

Thanks!

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.

ZIP downloads with thousands of files are very slow due to duplicate check

2 participants