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

BlockTreeTermsReader should use compareUnsigned to compare suffixes

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 8.5
    • None
    • None
    • New

    Description

      Currently BlockTreeTermsReader performs manual comparison of the target and suffix bytes, it could use Arrays#compareUnsigned instead. I'm not expecting a performance improvement from this, this is mostly to simplify.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jpountz Adrien Grand
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 20m
                  20m