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 2009/01/09 10:08:59 UTC
[jira] Commented: (HARMONY-6070) [luni] Improve Long.toString(long)
performance
[ 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.