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

fabioromano1 duke at openjdk.org
Fri Sep 27 18:56: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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 18 additional commits since the last revision:

 - Merge branch 'openjdk:master' into patchLeftShift
 - Merge branch 'patchLeftShift' of https://github.com/fabioromano1/jdk into patchLeftShift
 - Keep parameters' name consistence
 - Added path-targeted tests
 - Some code clarifications
 - Use supported annotation by jtreg in tests
 - Revision tests changes
 - Merge branch 'patchLeftShift' of https://github.com/fabioromano1/jdk into patchLeftShift
 - Merge branch 'openjdk:master' into patchLeftShift
 - Removed redundant code
 - ... and 8 more: https://git.openjdk.org/jdk/compare/27d5eb79...9473d9be

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/20008/files
  - new: https://git.openjdk.org/jdk/pull/20008/files/f2c8f35b..9473d9be

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

  Stats: 183399 lines in 1428 files changed: 165938 ins; 9977 del; 7484 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