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

Add caching to Localization #17

Open
Ygg01 opened this issue May 23, 2022 · 0 comments
Open

Add caching to Localization #17

Ygg01 opened this issue May 23, 2022 · 0 comments
Milestone

Comments

@Ygg01
Copy link
Owner

Ygg01 commented May 23, 2022

Motivation

To further speed-up access, we need to allow the memoization/caching of values.

What this means

Right now when you access a Bundle, the system will always run a message finding algorithm. We can do better.

For a given Locale, message-id, and variables (aka Input) we can check if the value isn't already in the Dictionary<Input, String> if it is, we return it otherwise we run the resource finding algorithm.

@Ygg01 Ygg01 added this to the 1.0 Release milestone Feb 23, 2023
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