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/27 15:30:13 UTC

[jira] [Updated] (LUCENE-6140) simplify inflater usage in deflate CompressionMode

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

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

> simplify inflater usage in deflate CompressionMode
> --------------------------------------------------
>
>                 Key: LUCENE-6140
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6140
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Robert Muir
>         Attachments: LUCENE-6140.patch
>
>
> 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.



--
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