Performance regression in java.util.zip.Deflater

Clemens Eisserer linuxhippy at gmail.com
Wed Jan 9 11:53:28 UTC 2008


Hi again,

I've finished a very early draft of the native stride+copy
implementation of Deflater.
Its still very early and is not tested a lot (so don't wory about I
would think this should go in as is ;) ), but seems to perform quite
well.
I just post it ... well ... to get some critics and advises ;)

I don't like the code as its far too messy in my opinion, maybe
somebody has better ideas to clean it up. Furthermore I don't know
wether it breaks corner-cases.

lg Clemens
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Deflater.java
Type: application/octet-stream
Size: 14566 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/core-libs-dev/attachments/20080109/b339d5ae/Deflater.java>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Deflater.c
Type: application/octet-stream
Size: 10878 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/core-libs-dev/attachments/20080109/b339d5ae/Deflater.c>


More information about the core-libs-dev mailing list