There are several uloc API that simply looks up resources from their resource bundle, such as
// uloc
uloc_getDisplayName
uloc_getAvailable
uloc_getDisplayKeywordValue
...
// ucal
ucal_getAttribute
ucal_getCanonicalTimeZoneID
// others
uatmufmt_getListPattern
unum_getSymbol
ucurr_forLocale
ulocdata_getDelimiter
uatimezone_getDisplayName
We should investigate if we can read the resources directly from ICU.ResourceBundle, which would allow optimization by moving away from having to parse locale identifier and skip creating ucal objects
There are several
ulocAPI that simply looks up resources from their resource bundle, such asWe should investigate if we can read the resources directly from
ICU.ResourceBundle, which would allow optimization by moving away from having to parse locale identifier and skip creatingucalobjects