refactor: make locales array immutable (#74037)
To improve memory efficiency, this marks all the locale arrays as readonly. This ensures that there's no undefined behaviour from accidentally mutating the array, and allows us to use the locales array as a stable reference for a future optimization PR.
Showing
Please
register
or
sign in
to comment