RFR: 8320759: Creation of random BigIntegers can be made faster [v2]

fabioromano1 duke at openjdk.org
Tue Nov 28 19:31:09 UTC 2023


On Mon, 27 Nov 2023 22:58:17 GMT, fabioromano1 <duke at openjdk.org> wrote:

>> A faster and simpler way to generate random BigIntegers, avoiding eventually trimming of leading zeros in magnitude array.
>
> fabioromano1 has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update BigInteger(int, Random)
>   
>   Update a comment

@bplb I have not yet made benchmark measurements, but I can produce them.

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

PR Comment: https://git.openjdk.org/jdk/pull/16817#issuecomment-1830536035


More information about the core-libs-dev mailing list