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

Delete useless variable negativeDeltas in BKDReader$IndexTree

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 8.6.2
    • None
    • core/other
    • None
    • New

    Description

      In BKDReader$IndexTree, the private final variable negativeDeltas seems useless. It will be only used in BKDReader.readNodeData(), we use negativeDeltas[level * numIndexDims + splitDim] to check whether the current nod is left or right, but it can be replaced by isLeft which is the function parameter.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kkewwei kkewwei
              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 - 40m
                  40m