summaryrefslogtreecommitdiff
path: root/inffast.c
diff options
context:
space:
mode:
authorAdenilson Cavalcanti <adenilson.cavalcanti@arm.com>2019-08-08 00:54:23 +0000
committerCommit Bot <commit-bot@chromium.org>2019-08-08 00:54:23 +0000
commit0f820c1d7165ba79e0429eab8b55c76f2be7d440 (patch)
treee8764229b98ec69d3062fd17da4b88dc6a20b300 /inffast.c
parent5cb718c7fcd502ab38c38ed0cebe5fdf3cdd3a47 (diff)
downloadzlib-0f820c1d7165ba79e0429eab8b55c76f2be7d440.tar.gz
Allow disabling Castagnoli compression optimization
Faster symbol hashing has a positive impact on data compression speed (around 20% on Intel and 36% on Arm Cortex big cores). A misfeature is that the generated compressed output will differ from vanilla zlib (even though it is still valid 'DEFLATE-d' content) and in some cases has slightly better compression ratio. We offer here a way to disable the optimization if there is the expectation that compressed content should match when compared to vanilla zlib. Bug: 990489 Change-Id: I910e140eb15dd334eb869b078f940581249a7e6d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1742297 Reviewed-by: Adenilson Cavalcanti <cavalcantii@chromium.org> Reviewed-by: Chris Blume <cblume@chromium.org> Commit-Queue: Adenilson Cavalcanti <cavalcantii@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#685041} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 5b8477c39bb70cb1cbb8bbbc8149674fa65f1c91
Diffstat (limited to 'inffast.c')
0 files changed, 0 insertions, 0 deletions