Length-Limited Prefix Codes
create.stephan-brumme.com
create.stephan-brumme.com
I posted some (slightly mistaken) comments at the time: https://news.ycombinator.com/item?id=26220442
From the article, it sounds like zlib might not even be using package-merge.
int ZEXPORT compress2 (dest, destLen, source, sourceLen, level)
Bytef *dest;
uLongf *destLen;
const Bytef *source;
uLong sourceLen;
int level;
{
z_stream stream;
int err;
const uInt max = (uInt)-1;
…
https://github.com/madler/zlib/blob/master/compress.c