Skip to content

fix(fluent): memoize FluentLanguageLoader::get#171

Open
Pandapip1 wants to merge 1 commit into
kellpossible:masterfrom
Pandapip1:fl-memoization
Open

fix(fluent): memoize FluentLanguageLoader::get#171
Pandapip1 wants to merge 1 commit into
kellpossible:masterfrom
Pandapip1:fl-memoization

Conversation

@Pandapip1
Copy link
Copy Markdown

After profiling a number of COSMIC applications, I determined that localization was responsible for a not insignificant amount of idle CPU and disk IO. This is easily fixed by memoizing FluentLanguageLoader::get.

After profiling a number of COSMIC applicaitons, I determined that localizaiton was responsible for a not insignificant amount of idle CPU and disk IO. This is easily fixed by memoizing `FluentLanguageLoader::get`.
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