GitHub user dweiss opened a pull request:

    https://github.com/apache/commons-compress/pull/59

    10% speed improvements and decreased memory allocation rate in deflate64

    Just something to consider: don't reallocate the run buffer over and over 
(this is a very hot loop). I piggybacked removal of long-to-byte masking 
{{0xff}} since the cast is sufficient on its own (truncates to byte value 
anyway).

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dweiss/commons-compress master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/commons-compress/pull/59.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #59
    
----
commit a40231b2bf2d1b3d73726ec3dae8fdc14fa672ad
Author: Dawid Weiss <dawid.weiss@...>
Date:   2018-01-11T17:11:11Z

    10% speed improvements and decreased memory allocation rate in deflate64

----


---

Reply via email to