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

define huffman::table::canonicalize() #88

Merged
merged 1 commit into from
Sep 26, 2023

Commits on Sep 26, 2023

  1. define huffman::table::canonicalize()

    huffman::table::canonicalize() updates the existing codes in a table to
    canonical form for DEFLATE:
     * All codes of a given bit length have lexicographically consecutive
       values, in the same order as the symbols they represent;
     * Shorter codes lexicographically precede longer codes.
    
    Change-Id: Idc3dceefe1b5d17a54f1dab29155a499c7e1d138
    oliverlee authored and garymm committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    be508eb View commit details
    Browse the repository at this point in the history