[ https://issues.apache.org/jira/browse/HARMONY-6045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Regis Xu updated HARMONY-6045:
------------------------------
Attachment: StringConvertCase.java
A simple benchmark for converting case of ascii character
> [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
>
> Attachments: HARMONY-6045.diff, HARMONY-6045v2.diff, StringConvertCase.java
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> 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.
|