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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.9, 6.0
    • None
    • None
    • 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
          178 kB
          Adrien Grand
        2. LUCENE-5703.patch
          181 kB
          Adrien Grand
        3. LUCENE-5703.patch
          180 kB
          Adrien Grand
        4. LUCENE-5703.patch
          203 kB
          Robert Muir
        5. LUCENE-5703.patch
          204 kB
          Robert Muir
        6. LUCENE-5703.patch
          219 kB
          Robert Muir
        7. LUCENE-5703.patch
          220 kB
          Robert Muir

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: