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

fabioromano1 duke at openjdk.org
Mon Sep 2 16:45:18 UTC 2024


On Mon, 2 Sep 2024 16:34:07 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:

> Right, I didn't remember that `BigInteger` has its own implementation.
> 
> However, reducing `MutableBigIntegerBox` to just a bunch of accessors to use in the unit test and the benchmarks should still be possible. Then having two copies of that class should be less of an issue.

@rgiulietti Yes, however there is still the problem of how to get instances of `MutableBigInteger`, since it is not a public class...

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

PR Comment: https://git.openjdk.org/jdk/pull/20008#issuecomment-2325088461


More information about the core-libs-dev mailing list