[Zlib-devel] Enough is enough
Mark Adler
madler at alumni.caltech.edu
Thu Jan 4 04:17:58 EST 2007
zlibbers,
Yes, the ENOUGH #define in inftrees.h is indeed enough. I finally
completed an exhaustive calculation, and through several tricks got
the execution time down from 36 years to two and half seconds. The
curious can find the calculation at:
http://alumnus.caltech.edu/~madler/enough.c
As it turns out (interesting only in hindsight), my previous
heuristic search in fact found the maximum table entries for the
length/literal code, which is 852.
mark
More information about the Zlib-devel
mailing list