Reduce memory consumption of BigInteger.pow() by adopting a better computation strategy.
The memory savings are substantial, at around 50% of the current implementation.
The memory savings are substantial, at around 50% of the current implementation.
- relates to
-
JDK-4837946 Faster multiplication and exponentiation of large integers
-
- Closed
-
- links to
-
Review(master) openjdk/jdk/24690