RFR: 8339531: Improve performance of MemorySegment::mismatch [v10]
Per Minborg
pminborg at openjdk.org
Thu Sep 12 09:50:24 UTC 2024
On Fri, 6 Sep 2024 11:52:35 GMT, Per Minborg <pminborg at openjdk.org> wrote:
>> This PR proposes to improve the performance of `MemorySegment::mismatch` by using Java code rather than transitioning to native code.
>
> Per Minborg has updated the pull request incrementally with one additional commit since the last revision:
>
> Use unaligned ops and rename benchmarks
I've added manual loop-unrolling for Aarch64 (only). This gives a significant performance boost for larger segments:

On x64, manual unrolling is not necessary.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20848#issuecomment-2345784880
More information about the core-libs-dev
mailing list