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

Optimize skipBytes implementation in remaining DataInput subclasses

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 9.0
    • None
    • None
    • New

    Description

      LUCENE-9480 introduced a more efficient method for byte skipping in IndexInput and its subclasses, but the rest of the DataInput implementations are still delegating to DataInput#skipBytesSlowly.

       

      This issue tracks optimizing the remaining DataInput skipBytes implementations. Here's the list remaining:

      • CompressingStoredFieldsReader (contains an anonymous DataInstance impl internally)
      • ByteSliceReader
      • ByteBuffersDataInput
      • InputStreamDataInput
      • PagedBytesDataInput

      Attachments

        1. LUCENE-9794.patch
          17 kB
          Greg Miller

        Activity

          People

            Unassigned Unassigned
            gsmiller Greg Miller
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: