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

Don't allocate/copy bytes all the time in binary DV producers

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Our binary doc values producers keep on creating new byte[] arrays and copying bytes when a value is requested, which likely doesn't help performance. This has been done because of the way fieldcache consumers used the API, but we should try to fix it in 5.0.

        Attachments

        1. LUCENE-5703.patch
          220 kB
          Robert Muir
        2. LUCENE-5703.patch
          219 kB
          Robert Muir
        3. LUCENE-5703.patch
          204 kB
          Robert Muir
        4. LUCENE-5703.patch
          203 kB
          Robert Muir
        5. LUCENE-5703.patch
          180 kB
          Adrien Grand
        6. LUCENE-5703.patch
          181 kB
          Adrien Grand
        7. LUCENE-5703.patch
          178 kB
          Adrien Grand

          Activity

            People

            • Assignee:
              jpountz Adrien Grand
              Reporter:
              jpountz Adrien Grand
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: