You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2014/12/03 09:13:12 UTC

[jira] [Created] (LUCENE-6090) don't wrap Deflater in CompressionMode

Robert Muir created LUCENE-6090:
-----------------------------------

             Summary: don't wrap Deflater in CompressionMode
                 Key: LUCENE-6090
                 URL: https://issues.apache.org/jira/browse/LUCENE-6090
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Robert Muir


This outputs zlib header/footer and computes adler32 for each block. The space is nothing, but the adler32 computation on encode/decode has a cost, and we already have our own checksum.

Since we currently compress/decompress at merge, this reduces the overall time of merging stored fields with deflate vs lz4, from 1.8x to 1.5x, reducing some of the pain.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org