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

fabioromano1 duke at openjdk.org
Sat Aug 31 15:05:58 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:

  Tests changes

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/20008/files
  - new: https://git.openjdk.org/jdk/pull/20008/files/0f7c8f3d..cac34ef9

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=20008&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20008&range=01-02

  Stats: 56 lines in 4 files changed: 45 ins; 0 del; 11 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