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

Brian Burkhalter bpb at openjdk.org
Tue Nov 28 18:14:06 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

Do you have any actual benchmark measurements that you could share?

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

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


More information about the core-libs-dev mailing list