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

reduce unnecessary copy data overhead when grow array size

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.2
    • None
    • None
    • New

    Description

      ArrayUtil#grow will copy origin array data to the new array after growing size in default, but in many places, the new array needn't the origin data. we should reduce the extra copy data overhead

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wjp719 jianping weng
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 1.5h
                  1.5h