RFR: 8338967: Improve performance for MemorySegment::fill [v5]

Maurizio Cimadamore mcimadamore at openjdk.org
Wed Aug 28 10:29:21 UTC 2024


On Wed, 28 Aug 2024 09:06:48 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> How fast do we need to be here given we are measuring in a few nanoseconds per operation?

The goal here is to be "competitive" with array bulk operations (given arrays do have bound checks as well) across all the segment size spectrum. It's fine to lose something in order to get to more maintainable code.

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

PR Comment: https://git.openjdk.org/jdk/pull/20712#issuecomment-2314929916


More information about the core-libs-dev mailing list