Issue Bug Closed

#63026Improve performance in LocalizationUtility

Stefan Froemken 11/17/14, 14:49 updated 10/19/17, 21:02

Description

Hello Core-Team,

translate method of LocalizationUtility will be called nearly 700 times in extensionmanager. With each call, also isFirstPartOfStr will be called. I know: This method is really fast, but in case of 700 calls it still needs 15-17 milliseconds.
I will provide a patch which changes the if-calls to improve performance.
In my tests this change brings 7-8 milliseconds (~50%) and is still valid in UnitTests

Stefan

Reviews 1