harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Cornwall (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-5672) [classlib][pack200] Performance improvements for pack200
Date Mon, 31 Mar 2008 22:34:24 GMT

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

Andrew Cornwall updated HARMONY-5672:
-------------------------------------

    Attachment: main.patch

main.patch code changes

> [classlib][pack200] Performance improvements for pack200
> --------------------------------------------------------
>
>                 Key: HARMONY-5672
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5672
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>         Environment: All Pack200
>            Reporter: Andrew Cornwall
>         Attachments: main.patch
>
>
> This patch does three things:
>  - improves ClassConstantPool by caching some objects for O(1) rather than O(n) retrieval
>  - caches a String generated by CPNameAndType instead of regenerating it each time
>  - short-circuits more CPRef equals() calls
> This reduces runtime by about 40%.

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