You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vladimir Strigun (JIRA)" <ji...@apache.org> on 2007/05/16 08:38:16 UTC

[jira] Commented: (HARMONY-3744) [classlib][luni][performance] performance improvement for java.lang.Character class (toUpperCase, toLowerCase, getType)

    [ https://issues.apache.org/jira/browse/HARMONY-3744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12496207 ] 

Vladimir Strigun commented on HARMONY-3744:
-------------------------------------------

Thanks Alexey,
patch applied as expected

> [classlib][luni][performance] performance improvement for java.lang.Character class (toUpperCase, toLowerCase, getType)
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3744
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3744
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>            Reporter: Vladimir Strigun
>         Assigned To: Alexey Petrenko
>         Attachments: Harmony-3744.diff
>
>
> Frequently used values in getType, toUpperCase and toLowerŠ”ase methods were cached. First 1000 values for every method were cached as static arrays. The patch was verified with unit tests and all benchmarks. I have 5-7% speedup for Dacapo.jython benchmark without degradation on other scenarios.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.