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

Use lru_cache for translations? #1

Open
ndim opened this issue Aug 17, 2017 · 0 comments
Open

Use lru_cache for translations? #1

ndim opened this issue Aug 17, 2017 · 0 comments
Assignees

Comments

@ndim
Copy link
Owner

ndim commented Aug 17, 2017

def get_translation(lang=None):

Why not use the @functools.lru_cache(maxsize=128, typed=False) decorator here?

@ndim ndim self-assigned this May 6, 2019
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