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

replace Cache by Lru cache #2451

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft

Conversation

ftoromanoff
Copy link
Contributor

@ftoromanoff ftoromanoff commented Oct 24, 2024

replace our own itowns.cache per the lru-cache package.

Currently we use 1 cache for each Layer + 1 for Style and another one for tile. Should we change that ?
I also arbitrary fixed the max size of each cahce to 500. Maybe this should be discuse, depending of the type of cache ?

@ftoromanoff ftoromanoff force-pushed the lruCache branch 3 times, most recently from 217ac00 to f5e0a65 Compare October 24, 2024 13:27
@ftoromanoff ftoromanoff reopened this Oct 24, 2024
@ftoromanoff ftoromanoff force-pushed the lruCache branch 3 times, most recently from 3611195 to 755b70e Compare October 24, 2024 15:02
@jailln
Copy link
Contributor

jailln commented Nov 15, 2024

@ftoromanoff does it solve #869 ?

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