RFR: 8355719: Reduce memory consumption of BigInteger.pow() [v46]

fabioromano1 duke at openjdk.org
Tue Apr 29 16:06:54 UTC 2025


On Tue, 29 Apr 2025 15:42:56 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:

> I don't observe any significant difference on my environment

@rgiulietti Although there could be no significant differences, the method to compute powers of `long`s could be useful, since it is used both by `BigInteger.pow()` and the possible implementation of nth root, so this PR might not be thrown away, or at least not completely.

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

PR Comment: https://git.openjdk.org/jdk/pull/24690#issuecomment-2839447656


More information about the core-libs-dev mailing list