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

simplify inflater usage in deflate CompressionMode

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0, 6.0
    • None
    • None
    • New

    Description

      This currently loops-n-grows the output byte[]. But we always decompress the whole block (we dont emit flushes or anything to allow otherwise) and ignore offset/length to the end, and we know how big the uncompressed size is up-front... we can just call inflate one time.

      Attachments

        1. LUCENE-6140.patch
          2 kB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: