You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Aleksey Shipilev (JIRA)" <ji...@apache.org> on 2008/07/12 16:01:31 UTC

[jira] Updated: (HARMONY-5910) [classlib][pack200][performance] BHSDCodec.decode() optimization

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

Aleksey Shipilev updated HARMONY-5910:
--------------------------------------

    Attachment: pack200-bhsdcodec-v1.patch

pack200-bhsdcodec-v1.patch
 - precomputes the powers of radix
 - inlines isHigh()
 - moves the check for EOF from the cycle
 - reorders operands in exit condition and uses partial boolean evaluation

Gives +4% to unpacking scenario (1.2 secs from 35.5 total).

> [classlib][pack200][performance] BHSDCodec.decode() optimization
> ----------------------------------------------------------------
>
>                 Key: HARMONY-5910
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5910
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>         Environment: Latest pack200
>            Reporter: Aleksey Shipilev
>         Attachments: pack200-bhsdcodec-v1.patch
>
>
> Optimization of o.a.h.pack200.BHSDCodec.decode(...).

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