[Zlib-devel] Google's version of zlib code

Jan Seiffert kaffeemonster at googlemail.com
Sun Mar 3 15:36:16 EST 2013


Arjan van de Ven schrieb:
> For all the "deflate is dead".... deflate, but more importantly,
> inflate are comparatively cheap in terms of CPU usage (and thus
> power). Yes XZ gets an incrementally better ratio, but only
> incrementally for many cases (esp for files that are not very large)
> and ends up quite a bit more expensive on either side.
> 
> The google thing shows that there is room on the "get more expensive"
> side, almost to the insane level.
> But there is also room on the "get cheaper" part, and at work we've
> been playing with zlib performance lately (hopefully to go open soon
> once we're a bit further along).
> 
> Getting zlib's deflate 25% faster hasn't proven to be that hard,

https://github.com/kaffeemonster/zlib/tree/slhash

> and
> line of sight for a 2x to 3x speedup is there (e.g. early prototype
> code).
> 
> We haven't looked at inflate much, beyond making the alder32 code (is
> that used much?) 2x faster, but I'm sure there's some room there too.
> 

2 times?
https://github.com/kaffeemonster/zlib
https://github.com/kaffeemonster/zlib/commit/a494da1181edfbe0f25e058b4782b5c1017d2f57

[snip]

Greetings
	Jan




More information about the Zlib-devel mailing list