Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
flate: Improve level 1 speed by ~10% (#482)
Mainly through manual inlining. ``` BenchmarkEncodeDigitsSpeed1e4-32 53121 47995 -9.65% BenchmarkEncodeDigitsSpeed1e5-32 686799 630834 -8.15% BenchmarkEncodeDigitsSpeed1e6-32 6636421 6054570 -8.77% BenchmarkEncodeTwainSpeed1e4-32 77016 69146 -10.22% BenchmarkEncodeTwainSpeed1e5-32 690640 634364 -8.15% BenchmarkEncodeTwainSpeed1e6-32 6915519 6367504 -7.92% BenchmarkEncodeDigitsSpeed1e4-32 188.25 208.35 1.11x BenchmarkEncodeDigitsSpeed1e5-32 145.60 158.52 1.09x BenchmarkEncodeDigitsSpeed1e6-32 150.68 165.16 1.10x BenchmarkEncodeTwainSpeed1e4-32 129.84 144.62 1.11x BenchmarkEncodeTwainSpeed1e5-32 144.79 157.64 1.09x BenchmarkEncodeTwainSpeed1e6-32 144.60 157.05 1.09x ```
- Loading branch information
Showing
4 changed files
with
58 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters