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

always use DEFLATE canonical form for huffman::table codes #100

Merged
merged 1 commit into from
Nov 21, 2023

Commits on Nov 21, 2023

  1. always use DEFLATE canonical form for huffman::table codes

    Update huffman::table constructors to always call canonicalize(). As
    canonicalize() is now called in the constructor, this method is now
    private.
    
    Note that the table_contents constructor is an exception and does not
    call canonicalize().
    
    File decode_test.cpp does not yet update the Huffman table to use
    canonical form as this requires the recalculating the encoded bits.
    
    Change-Id: I5597dc51ea5e9f086c71e2f9396fccd5ace923b2
    oliverlee committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    c72bc7d View commit details
    Browse the repository at this point in the history