Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-10150

ByteBuffersDataInput should override readLongs?

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.0
    • None
    • None
    • New

    Description

      This DataInput optimizes readFloats() with a FloatBuffer view, but does nothing for readLongs().

      Currently readLongs() will read the entire array one-byte-at-a-time.
      With LUCENE-10149, it will go eight-bytes-at-a-time.

      But we could override this method and optimize it further, to reduce bounds checks and speed up postings.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rcmuir Robert Muir
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h