RFR: 8334755: Asymptotically faster implementation of square root algorithm [v9]
Raffaello Giulietti
rgiulietti at openjdk.org
Thu Jul 4 12:54:21 UTC 2024
On Thu, 27 Jun 2024 17:28:36 GMT, fabioromano1 <duke at openjdk.org> wrote:
>> Thanks. That's a very nice performance improvement, on my Windows machine the `testHuge...` test is about 2-3x faster, and the other 2 are slightly faster too.
>>
>> This needs a proper review for correctness, which might take a while.
>
> @djelinski I also improved the `BigDecimal.sqrt()` algorithm exploiting `BigInteger.sqrtAndRemainder()`.
@fabioromano1 I'll review your contribution starting sometimes next week.
Please stabilize your code until then.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19710#issuecomment-2208903977
More information about the core-libs-dev
mailing list