-
Notifications
You must be signed in to change notification settings - Fork 324
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zstd: Use individual reset threshold (#703)
* zstd: Use individual reset threshold Instead of setting the limit to the largest window size, set it to the chosen one. ``` λ benchcmp before.txt after.txt benchmark old ns/op new ns/op delta BenchmarkEncoder_EncodeAllSimple4K/fastest-32 3145 3133 -0.38% BenchmarkEncoder_EncodeAllSimple4K/default-32 41485 40624 -2.08% BenchmarkEncoder_EncodeAllSimple4K/better-32 49352 49197 -0.31% BenchmarkEncoder_EncodeAllSimple4K/best-32 421522 407392 -3.35% benchmark old MB/s new MB/s speedup BenchmarkEncoder_EncodeAllSimple4K/fastest-32 1302.48 1307.39 1.00x BenchmarkEncoder_EncodeAllSimple4K/default-32 98.74 100.83 1.02x BenchmarkEncoder_EncodeAllSimple4K/better-32 83.00 83.26 1.00x BenchmarkEncoder_EncodeAllSimple4K/best-32 9.72 10.05 1.03x ```
- Loading branch information
Showing
8 changed files
with
25 additions
and
26 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
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