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

LRUCache: cache will hold one more tile than meets the byte limit #697

Open
gkjohnson opened this issue Aug 17, 2024 · 0 comments
Open

LRUCache: cache will hold one more tile than meets the byte limit #697

gkjohnson opened this issue Aug 17, 2024 · 0 comments
Milestone

Comments

@gkjohnson
Copy link
Contributor

So the cache function values are consistent. Ie isFull is checking if the bytes are above the cap, etc. Otherwise tiles could be added and then immediately removed. We could assume an average tile size until the bytes are ready to avoid this, as well.

@gkjohnson gkjohnson added this to the v0.x.x milestone Aug 17, 2024
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

No branches or pull requests

1 participant