Re: [Mesa-dev] [PATCH v2 3/3] util: use faster zlib's CRC32 implementaion

2018-01-10 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Tue, Jan 9, 2018 at 11:58 PM, Grazvydas Ignotas wrote: > zlib provides a faster slice-by-4 CRC32 implementation than the > traditional single byte lookup one used by mesa. As most supported > platforms now link zlib

[Mesa-dev] [PATCH v2 3/3] util: use faster zlib's CRC32 implementaion

2018-01-09 Thread Grazvydas Ignotas
zlib provides a faster slice-by-4 CRC32 implementation than the traditional single byte lookup one used by mesa. As most supported platforms now link zlib unconditionally, we can easily use it. Improvement for a 1MB buffer (avg MB/s, n=100, zlib 1.2.8): i5-6600KC2D E4500