harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Strigun (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-3744) [classlib][luni][performance] performance improvement for java.lang.Character class (toUpperCase, toLowerCase, getType)
Date Tue, 24 Apr 2007 12:28:15 GMT

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

Vladimir Strigun updated HARMONY-3744:
--------------------------------------

    Attachment: Harmony-3744.diff

the patch

> [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
>         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.


Mime
View raw message