[ 
https://issues.apache.org/jira/browse/LUCENE-6090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14232821#comment-14232821
 ] 

Adrien Grand commented on LUCENE-6090:
--------------------------------------

+1

> 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
>         Attachments: LUCENE-6090.patch, LUCENE-6090.patch, LUCENE-6090.patch
>
>
> 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to