RFR: 8336274: MutableBigInteger.leftShift(int) optimization [v4]
fabioromano1
duke at openjdk.org
Sun Sep 1 16:32:00 UTC 2024
> 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:
Code more clear
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/20008/files
- new: https://git.openjdk.org/jdk/pull/20008/files/cac34ef9..9231c600
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=20008&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=20008&range=02-03
Stats: 4 lines in 1 file changed: 0 ins; 1 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/20008.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/20008/head:pull/20008
PR: https://git.openjdk.org/jdk/pull/20008
More information about the core-libs-dev
mailing list