Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade LZ4 to version 1.1.0. #8

Merged
merged 1 commit into from
Feb 10, 2013
Merged

Conversation

jpountz
Copy link
Contributor

@jpountz jpountz commented Feb 10, 2013

Hi,

Here is a pull request to upgrade LZ4 to version 1.1.0. One advantage of this new artifact is that it has been packaged with pre-compiled JNI bindings (for win32/amd64, linux/i386, linux/amd64 and darwin/x86_64) so I added a driver based on JNI bindings to the C library.

In case you want to have a look, I ran the compress and uncompress benchmarks on the calgary corpus:

(I had to increase the maximum throughputs in DriverBase.java so that the limit wasn't reached on every file with LZ4 (JNI).)

cowtowncoder added a commit that referenced this pull request Feb 10, 2013
Upgrade LZ4 to version 1.1.0.
@cowtowncoder cowtowncoder merged commit 1524c81 into ning:master Feb 10, 2013
@cowtowncoder
Copy link
Contributor

Sounds good, thanks!

@cowtowncoder
Copy link
Contributor

Very impressive numbers!

@jpountz
Copy link
Contributor Author

jpountz commented Feb 10, 2013

Yes, I was impressed too. I ran it on my laptop (intel core i7 / Linux), I'm curious to know if results are as impressive on other platforms.

@cowtowncoder
Copy link
Contributor

I wish I had more time to spend on this. I am actually using LZF for https://github.com/FasterXML/TransiStore along with basic deflate (gzip). But I might be able to add a new option for lz4 as well, given bit more time. It would be good, especially if HC variant really is at least about as fast as Snappy/LZF -- speed is not big challenge currently (although faster is of course nicer), but higher compression ratio would be sweet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants