On systems with locales that need to be looked up, such as sv_SE, the switch expression in Locale::createLocale is cause for quite a bit of work. While I've taken step to reduce the overhead of SwitchBootstraps via a few other enchancements, the point fix of desugaring this simple switch into ifs still means an improvement of ~10ms on Hello World on my M1 (-87M instructions).
- Claes Redestad
- Claes Redestad
- Votes:
-
0 Vote for this issue
- Watchers:
-
3 Start watching this issue
- Created:
- Updated:
- Resolved: