]> git.lizzy.rs Git - zlib.git/commit
Clarify that prefix codes are counted in enough.c.
authorMark Adler <madler@alumni.caltech.edu>
Sat, 4 Aug 2018 21:27:02 +0000 (14:27 -0700)
committerMark Adler <madler@alumni.caltech.edu>
Mon, 6 Aug 2018 06:08:25 +0000 (23:08 -0700)
commitd00c147f531e757bfbd5cfab58d941caa8333ba8
tree513995a58c5a5c92986c337d06f5ce91f73a8448
parent5b1381006b715a93f226117f82b7b6dd81bfff5e
Clarify that prefix codes are counted in enough.c.

There is no assurance that all prefix codes are reachable as
optimal Huffman codes for the numbers of symbols encountered in
a deflate block. This code considers all possible prefix codes,
which might be a larger set than all possible Huffman codes,
depending on the constraints.
examples/enough.c