harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Shipilev (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6070) [luni] Improve Long.toString(long) performance
Date Fri, 09 Jan 2009 09:08:59 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662285#action_12662285

Aleksey Shipilev commented on HARMONY-6070:

Wait, it's probably better to create internal org.apache.harmony.luni.Conversion or smth.
like that and do the conversion for both ints and longs there.  This IS the code duplication.

> [luni] Improve Long.toString(long) performance
> ----------------------------------------------
>                 Key: HARMONY-6070
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6070
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>    Affects Versions: 5.0M8
>            Reporter: Jim Yu
>             Fix For: 5.0M9
>         Attachments: HARMONY-6070.diff
>   Original Estimate: 24h
>  Remaining Estimate: 24h
> Based on the algorithm for HARMONY-6068, I've made a patch for Long.toString(long). Since
the big long numbers can have much more digits than integers, this algorithm can improve the
performance a lot for big long numbers.

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

View raw message