On Sun, 15 Jun 2025 05:53:26 GMT, Shaojin Wen <s...@openjdk.org> wrote:
>> In PR #22928, UUID introduced long-based vectorized hexadecimal to string >> conversion, which can also be used in Integer::toHexString and >> Long::toHexString to eliminate table lookups. The benefit of eliminating >> table lookups is that the performance is better when cache misses occur. > > Shaojin Wen has updated the pull request incrementally with one additional > commit since the last revision: > > Update src/java.base/share/classes/java/util/UUID.java > > Co-authored-by: ExE Boss <3889017+exe-b...@users.noreply.github.com> Can we just update `formatUnsignedInt` to remove the table lookup? This patch essentially duplicates code and is more confusing than helpful. For example, we still need to check if this batch-fetched hex8 can have the loop for putting vectorized. ------------- PR Comment: https://git.openjdk.org/jdk/pull/22942#issuecomment-3210684391