Skip to content

Conversation

@garw
Copy link
Member

@garw garw commented Aug 18, 2023

When the sound directory is large, iterating over all items appears to be really slow. For this reason, we change the behavior from searching all subdirs to explicitly mention search directories in the commandline. Only these paths will be searched for sound files. No subdirectories anymore.

This eliminates the need for iteration by only testing if the searched file exists.

When the sound directory is large, iterating over all items
appears to be really slow. For this reason, we change the
behavior from searching all subdirs to explicitly mention
search directories in the commandline. Only these paths
will be searched for sound files. No subdirectories anymore.

This eliminates the need for iteration by only testing if the
searched file exists.
@garw garw force-pushed the callgen_speed_improvements branch from 99ba8cf to aa9019a Compare December 13, 2025 23:00
@garw garw merged commit b9b3188 into master Dec 13, 2025
3 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.

3 participants