Slow compile time with zlib
Hello,

According to the docs and my own experience, the zlib compressor is generally the fastest at compression and decompression. However, I've run into a case where zlib is drastically slower than the other compressors. Here are the compile times I am getting with my script:

zlib: 382.1 seconds
bzip2: 66.1 seconds
lzma: 144.7 seconds


My installer contains 467 files that are all below 10 MB each, except for one file that is 90 MB.

I removed the one large file, and got the following compile times:

zlib: 21.7 seconds
bzip2: 26.6 seconds
lzma: 56.2 seconds


I then tried compiling with ONLY the large file and got the following results:

zlib: 366.3 seconds
bzip2: 42.2 seconds
lzma: 93.1 seconds


I then tried a different 120 MB file and got the following compile times:

zlib: 46.1 seconds
bzip2: 52.7 seconds
lzma: 98.1 seconds


So there seems to be something with the 90 MB file that is causing the zlib compressor to take a long time.

Has anybody experienced this before? Can some files trip up the zlib compression algorithm this badly?

Any insight is much appreciated.