harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Ellison (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-1636) [classlib][java.math] optimization of two-complement related methods
Date Tue, 10 Oct 2006 21:54:20 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1636?page=all ]

Tim Ellison closed HARMONY-1636.
--------------------------------


Verified by Daniel.


> [classlib][java.math] optimization of two-complement related methods
> --------------------------------------------------------------------
>
>                 Key: HARMONY-1636
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1636
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>            Reporter: Daniel Fridlender
>         Assigned To: Tim Ellison
>            Priority: Minor
>         Attachments: HARMONY-1636_lowLevelMethodsOpt.diff.zip, HARMONY-1636_lowLevelMethodsOpt.diff.zip,
HARMONY-1636_lowLevelMethodsOpt.diff.zip
>
>
> Since the current implementation of BigInteger is sign-magnitude, the implementation
of two-complement related methods (e.g. bitwise logical operators, bitLength) often create
intermediate data (two-complement copies of arguments and results).  This is costly in space
and time.
> The present optimization avoids creating that intermediate data.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message