RFR: JDK-8323186: A faster algorithm for MutablebigInteger.divWord(long, int) [v3]

fabioromano1 duke at openjdk.org
Tue Jan 9 18:24:49 UTC 2024


> The method `MutableBigInteger.divWord(long, int)` can use the algorithm of Hacker's Delight (2nd ed), section 9.3, the same used in `Long.divideUnsigned(long, long)` and `Long.remainderUnsigned(long, long)`, to get the computation faster.

fabioromano1 has updated the pull request incrementally with one additional commit since the last revision:

  Removed trailing whitespaces

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/17291/files
  - new: https://git.openjdk.org/jdk/pull/17291/files/2d432f8d..2460b066

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=17291&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=17291&range=01-02

  Stats: 9 lines in 1 file changed: 0 ins; 0 del; 9 mod
  Patch: https://git.openjdk.org/jdk/pull/17291.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17291/head:pull/17291

PR: https://git.openjdk.org/jdk/pull/17291


More information about the core-libs-dev mailing list