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

fabioromano1 duke at openjdk.org
Mon Apr 28 14:20:48 UTC 2025


On Mon, 28 Apr 2025 14:12:29 GMT, Chen Liang <liach at openjdk.org> wrote:

> Doesn't pre-seeding involve extra cpu cycles which are defintely wasted if the results aren't used?

It would involve just 3 assignments and 3 multiplications of 64-bit words, I think the overhead is negligible.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24690#discussion_r2063765833


More information about the core-libs-dev mailing list