[Zlib-devel] patch-in-progress: vectorized adler32 calculation

Mark Adler madler at alumni.caltech.edu
Mon Apr 12 09:54:50 EDT 2010


On Apr 12, 2010, at 2:54 AM, Török Edwin wrote:
> Is adler32() slow because it works on a lot of data, or because it is called often and works on small amount of data each time?

Usually because it works on a lot of data in one call.

In zlib 1.2.2.2 there were some changes to adler32() to make it work faster for very small len, since there were apparently a few users out there using it that way.  However that is the exception, not the rule.

Mark





More information about the Zlib-devel mailing list