Improve performance of Locale.toString (#7990)
Use a map instead of a switch to replace deprecated language and country codes. Also cache the result for the most recently used locale.
Showing
想要评论请 注册 或 登录
从无法访问的项目Fork
Use a map instead of a switch to replace deprecated language and country codes. Also cache the result for the most recently used locale.