google / brotli

Brotli compression format
MIT License
13.3k stars 1.22k forks source link

Inline `hash_mul_`. #1141

Closed copybara-service[bot] closed 1 month ago

copybara-service[bot] commented 3 months ago

Inline hash_mul_.

hash_mul_ is a constant, but is currently passed into FN(HashBytes) as a parameter.

Provides a 0.3-08% speedup for the H6 hasher.

google-cla[bot] commented 3 months ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.