https://bugs.documentfoundation.org/show_bug.cgi?id=127786
Eike Rathke <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #16 from Eike Rathke <[email protected]> ---
The massive amount of lt_tag_convert_to_locale() calls from
LanguageTagImpl::getGlibcLocaleString() (called from SvxResId/SvxResLocale) and
the time spent therein looks fishy. This wasn't a problem when string resources
came from the old resource system as conversion to the Glibc string wasn't
needed often, but now for .po files the conversion is needed for each resource
string which it wasn't before. The Glibc string can be constructed much quicker
for locales that do not involve a Script tag or @modifier in the Glibc
representation and LanguageTagImpl::getGlibcLocaleString() isn't even called
then, hence it affects only ca-ES-valencia (ca_ES@valencia) and a few others.
We probably want to cache the Glibc string in class LanguageTagImpl. Taking.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs