commit | ac8f12c97d1afd9bafa9c710f827d40a407d3266 | [log] [tgz] |
---|---|---|
author | Mark Adler <madler@alumni.caltech.edu> | Mon Sep 18 21:17:00 2023 -0700 |
committer | Mark Adler <madler@alumni.caltech.edu> | Thu Sep 21 00:14:56 2023 -0700 |
tree | cc8841032d996c2f5c41d75c7edf65558d2d90ce | |
parent | bd9c329c1055a9265812352655ed2eec93f36e92 [diff] |
Add LIT_MEM define to use more memory for a small deflate speedup. A bug fix in zlib 1.2.12 resulted in a slight slowdown (1-2%) of deflate. This commit provides the option to #define LIT_MEM, which uses more memory to reverse most of that slowdown. The memory for the pending buffer and symbol buffers is increased by 25%, which increases the total memory usage with the default parameters by about 6%.