You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optimize Performance with Caching for Resolved Options and Parsed Locale Strings (#1642)
* feat: optimize performance by adding caching for resolved options and parsed locale strings
- Implement caching to avoid redundant computations of resolved options and locale parsing.
- Introduce a final `isEnglish` variable to efficiently check if the locale supports English.
Signed-off-by: nodify-at <[email protected]>
* feat: simplify caching logic for resolved options in supportsFastNumbers and isEnglish calls to improve performance
Signed-off-by: nodify-at <[email protected]>
* feat: add new benchmark tests to compare performance with and without Intl.resolvedOptions cache
Signed-off-by: nodify-at <[email protected]>
---------
Signed-off-by: nodify-at <[email protected]>
0 commit comments