Skip to content
Commit 0f820c1d authored by Adenilson Cavalcanti's avatar Adenilson Cavalcanti Committed by Commit Bot
Browse files

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: default avatarAdenilson Cavalcanti <cavalcantii@chromium.org>
Reviewed-by: default avatarChris 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
parent 5cb718c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment