> 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: Small correction to ensure n > leadingZeros && nBits > leadingZeros ------------- Changes: - all: https://git.openjdk.org/jdk/pull/20008/files - new: https://git.openjdk.org/jdk/pull/20008/files/9473d9be..8ace0757 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=20008&range=13 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20008&range=12-13 Stats: 3 lines in 1 file changed: 0 ins; 0 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