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

LRU cache #64

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

LRU cache #64

wants to merge 4 commits into from

Conversation

greut
Copy link
Member

@greut greut commented Apr 25, 2020

This change adds a new LRU cached parser. Usually useless because most projects have few globbing patterns and even fewer .editorconfig files, so it's not enabled by default.

To make this more "reusable", they have been moved to a sub package, hence the internal calls had to be made public. Now, you can have you own cache without having to rewrite the translate function (which is the hard part)

Signed-off-by: Yoan Blanc <[email protected]>
Signed-off-by: Yoan Blanc <[email protected]>
Signed-off-by: Yoan Blanc <[email protected]>
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