On Wed, 8 May 2024 08:19:54 GMT, Daniel Jeliński <djelin...@openjdk.org> wrote:
> Replace the custom unsigned divide / remainder functions with the > compiler-optimized Long.divideUnsigned / remainderUnsigned. > > No new tests. Existing tier1-3 tests continue to pass. > > I added a new set of divide benchmarks. Results in thread. > > I also removed the BigDecimal.toString benchmarks. They no longer serve their > purpose - toString caches the returned value, so we were only benchmarking > the cache access time. This pull request has now been integrated. Changeset: beea5305 Author: Daniel Jeliński <djelin...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/beea5305b071820e2b128a55c5ca384caf470fdd Stats: 219 lines in 4 files changed: 39 ins; 136 del; 44 mod 8331907: BigInteger and BigDecimal should use optimized division Reviewed-by: rgiulietti, bpb ------------- PR: https://git.openjdk.org/jdk/pull/19134