On Wed, 3 Jul 2024 14:17:37 GMT, fabioromano1 <[email protected]> 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.

This pull request has now been integrated.

Changeset: d6820d13
Author:    fabioromano1 <[email protected]>
Committer: Raffaello Giulietti <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/d6820d1324711eac95a297dd68ec94e6f6be4b35
Stats:     476 lines in 3 files changed: 423 ins; 25 del; 28 mod

8336274: MutableBigInteger.leftShift(int) optimization

Reviewed-by: rgiulietti

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

PR: https://git.openjdk.org/jdk/pull/20008

Reply via email to