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

Improve speed of loading and display of large folders #2184

Merged
merged 3 commits into from
May 4, 2023

Conversation

jeremypw
Copy link
Collaborator

@jeremypw jeremypw commented May 2, 2023

Fixes #2172

  • Keep map of row references
  • Do not sort while loading

Time to load a folder containing 20,000 empty files, sort on filename, and unfreeze interface:
MASTER: 260 seconds
PR: approx 2 seconds

* Keep map of row references
* Do not sort while loading
@jeremypw jeremypw requested a review from tintou May 2, 2023 17:45
@jeremypw jeremypw marked this pull request as ready for review May 3, 2023 18:13
@tintou tintou merged commit db6dfad into master May 4, 2023
@tintou tintou deleted the handle-largefolders-better branch May 4, 2023 07:50
@peteruithoven
Copy link
Collaborator

While the speed improvements are really great I'm afraid this PR might have introduced some issues, see:

@jeremypw
Copy link
Collaborator Author

jeremypw commented May 7, 2023

Yes, I merged this in a bit of an hurry 😞 I am afraid. I am working on a revised branch to fix the issues.

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.

Hangs when a folder with a large number of files needs to be shown
3 participants