RFR: 8353741: Improve UUID.toString performance by using SIMD within a register instead of table lookup [v3]
Johannes Graham
duke at openjdk.org
Tue Apr 8 18:07:18 UTC 2025
On Sat, 5 Apr 2025 05:30:25 GMT, Shaojin Wen <swen at openjdk.org> wrote:
>> Improve the performance of UUID::toString by using Long.expand and SWAR (SIMD within a register) instead of table lookup. Eliminating the table lookup can also avoid the performance degradation problem when the cache misses.
>
> Shaojin Wen has updated the pull request incrementally with one additional commit since the last revision:
>
> simplify code
Have you considered removing `reverseBytes` and using `ByteArray` instead of `ByteArrayLittleEndian`?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22928#issuecomment-2787268424
More information about the core-libs-dev
mailing list