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

Preloader optimization #696

Merged
merged 1 commit into from
Oct 12, 2024
Merged

Preloader optimization #696

merged 1 commit into from
Oct 12, 2024

Conversation

jdpurcell
Copy link
Contributor

When rapidly navigating through images, I noticed there can be some wasted effort because it's possible for the preloader to start working on a file, but if it's not quite done by the time a load of the same file is requested, it's loaded from scratch instead of waiting for the preloader to finish. This PR makes the preloader keep track of which files it's working on in order to avoid that.

@jurplel
Copy link
Owner

jurplel commented Oct 12, 2024

Nice change

@jurplel jurplel merged commit 9e90a5f into jurplel:master Oct 12, 2024
7 checks passed
@jdpurcell jdpurcell deleted the pr-preloadperf branch October 16, 2024 15:15
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