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

Filter directory when loading #169

Merged
merged 4 commits into from
Oct 24, 2024
Merged

Filter directory when loading #169

merged 4 commits into from
Oct 24, 2024

Conversation

fluxxcode
Copy link
Owner

@fluxxcode fluxxcode commented Oct 24, 2024

Changed so that the file filter and "show hidden files option" are applied when the directory loads rather than every frame. This should improve performance, especially on Windows.

The text search is still applied every frame. Implementing this differently is not easy either. We can't reload the directory every time the text field changes, otherwise the usability will suffer, especially for large directories and slow disks.
However, with 50,000 items in a directory, there will be no significant performance issues if this is done every frame.

Ref #168

@fluxxcode fluxxcode merged commit c11ce40 into develop Oct 24, 2024
1 check passed
@fluxxcode fluxxcode deleted the fix/windows_performance branch October 25, 2024 22:32
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.

1 participant