RFR: 8336274: MutableBigInteger.leftShift(int) optimization [v3]

Raffaello Giulietti rgiulietti at openjdk.org
Sun Sep 1 10:03:18 UTC 2024


On Sat, 31 Aug 2024 15:05:58 GMT, fabioromano1 <duke at openjdk.org> wrote:

>> This implementation of MutableBigInteger.leftShift(int) optimizes the current version, avoiding unnecessary copy of the MutableBigInteger's value content and performing the primitive shifting only in the original portion of the value array rather than in the value yet extended with trailing zeros.
>
> fabioromano1 has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Tests changes

@fabioromano1 I'll have a look at your PR in the coming week.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/20008#issuecomment-2323265157


More information about the core-libs-dev mailing list