Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8370822

Improve performance for MemorySegment::fill

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • 26
    • 25
    • core-libs

      The shift/or operation at the beginning of the `SegmentBulkOperations.fill()` method can be replaced by a multiplication, which is faster.

      This was part of the PR for JDK-8357531 that had to be abandoned for other reasons.

            pminborg Per-Ake Minborg
            pminborg Per-Ake Minborg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: