Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

huff0: Improve 4X decompression speed #468

Merged
merged 1 commit into from
Jan 10, 2022
Merged

Commits on Jan 10, 2022

  1. huff0: Improve 4X decompression speed

    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%
    ```
    klauspost committed Jan 10, 2022
    Configuration menu
    Copy the full SHA
    c5fc722 View commit details
    Browse the repository at this point in the history