huff0: Improve 4X decompression speed#468
Merged
Conversation
Improve for tablelog > 8: ``` benchmark old ns/op new ns/op delta BenchmarkDecompress4XNoTable/gettysburg-32 2760 2711 -1.78% BenchmarkDecompress4XNoTable/twain-32 583900 580407 -0.60% BenchmarkDecompress4XNoTable/pngdata.001-32 79094 77148 -2.46% BenchmarkDecompress4XNoTableTableLog8/digits-32 158182 158284 +0.06% BenchmarkDecompress4XTable/digits-32 160960 158540 -1.50% BenchmarkDecompress4XTable/gettysburg-32 3985 3907 -1.96% BenchmarkDecompress4XTable/twain-32 585743 585507 -0.04% BenchmarkDecompress4XTable/low-ent.10k-32 55110 55175 +0.12% BenchmarkDecompress4XTable/superlow-ent-10k-32 15096 14993 -0.68% BenchmarkDecompress4XTable/case1-32 2003 2001 -0.10% BenchmarkDecompress4XTable/case2-32 1970 1964 -0.30% BenchmarkDecompress4XTable/case3-32 1974 1993 +0.96% BenchmarkDecompress4XTable/pngdata.001-32 82138 80294 -2.25% BenchmarkDecompress4XTable/normcount2-32 1346 1334 -0.89% ```
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Improve for tablelog > 8: