This repository has been archived by the owner on Jan 29, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(service): improve messageformat.js output caching
Previously, the $translateMessageFormatInterpolation interpolator only cached results when both the ICU MessageFormat string and the interpolation parameters matched. With this change, the compiled function output by messageformat.js is cached, resulting in fewer cache misses that would require the comparatively heavier $mf.compile() operation to be run.
- Loading branch information