Community
Participate
Working Groups
20021127 RegistryReader.orderExtensions calls toUpperCase on Strings which creates new String objects it could be optimized to call toUpperCase only once on each String or maybe strings could be compared char by char by calling Character.toUpperCase on each (which would also improve speed by not converting all chars to upper case everytime) RegistryReader.orderExtensions creates 10% of all String created when you open a new java editor
Question, why do you need to orderExtensions at all? Or, why can it not be done once and remembered.
i don't know why they're sorted every time i can attach a backtrace (also, i do not see 10% anymore on 1203 - i see only 5% of all strings being alocated in RegistryReader.orderExtensions)
Should also use compareToIgnoreCase instead of toUpperCase. But the registry should only be read and sorted once.
Did this go in for M5?
Will try to get to this for RC1...
Have a fix. Waiting for NE to double check it.
released change