RFR: 8320759: Creation of random BigIntegers can be made faster [v3]
fabioromano1
duke at openjdk.org
Sat Dec 2 15:42:18 UTC 2023
> 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:
Create RandomBigIntegers.java
Create a benchmark to measure the performance of BigInteger(int, Random) constructor implementation.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/16817/files
- new: https://git.openjdk.org/jdk/pull/16817/files/928a13a1..699b51b0
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=16817&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=16817&range=01-02
Stats: 31 lines in 1 file changed: 31 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/16817.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/16817/head:pull/16817
PR: https://git.openjdk.org/jdk/pull/16817
More information about the core-libs-dev
mailing list