[ 
https://issues.apache.org/jira/browse/LUCENE-6090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Muir updated LUCENE-6090:
--------------------------------
    Attachment: LUCENE-6090.patch

updated patch, explicitly set dummy byte to 0. this is paranoia since only an 
ancient zlib needs it, but the javadocs say its required.

> 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
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to