May 28, 2014

zlib库优化性能测试(port from facebook and intel)

背景 facebook基于zlib 1.2.5 做了些改进,并port了intel的一些相关补丁。本文主要目的是验证其压缩效果 主要有两个补丁: (Optimize zlib for a non-sliding window.) (port from intel) intel补丁的主要修改: 1) By default, use CRC32 as the hash, computed using SSE4.2 2) Also provide a better fallback hash in case of no SSE 3) By default use double-byte comparisons by enabling UNALIGNED_OK 4) Use best_len_minus_1 instead of best_len in longest_match() […]