Integrated: 8336274: MutableBigInteger.leftShift(int) optimization
fabioromano1
duke at openjdk.org
Wed Oct 2 09:48:44 UTC 2024
On Wed, 3 Jul 2024 14:17:37 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.
This pull request has now been integrated.
Changeset: d6820d13
Author: fabioromano1 <51378941+fabioromano1 at users.noreply.github.com>
Committer: Raffaello Giulietti <rgiulietti at openjdk.org>
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
More information about the core-libs-dev
mailing list