[classlib] [luni] Optimize java.lang.String.toUpperCase(), String.toLowerCase() and String
sharing for more performance gains
-----------------------------------------------------------------------------------------------------------------------------
Key: HARMONY-6045
URL: https://issues.apache.org/jira/browse/HARMONY-6045
Project: Harmony
Issue Type: Improvement
Components: Classlib
Affects Versions: 5.0M8
Reporter: Kevin Zhou
Fix For: 5.0M9
Recently, I make some improvement on java.lang.String and java.lang.AbstractStringBuilder
class for more performance gains.
1. Move the share mode for all the AbstractStringBuilder.append method, since the append never
change the share things.
2. Move the share mode in AbstractStringBuilder.setLength method
3. Add the special care for the ASCII things, especially on case things of String.toUpperCase
and to LowerCase methods.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
|