diff options
author | Alejandro Colomar <alx@nginx.com> | 2023-09-05 03:16:29 +0200 |
---|---|---|
committer | Alejandro Colomar <alx@nginx.com> | 2023-09-05 04:36:56 +0200 |
commit | 993533a112a36cdd7afe704565e11e0dda5845f8 (patch) | |
tree | 8d767dccd3159ee213b6393dbe58dc65d6a0f201 /src/nxt_work_queue.h | |
parent | 04e8bdfdbd42d73a68434f88249ab6652cf104a1 (diff) | |
download | unit-gzip-v36.tar.gz unit-gzip-v36.tar.bz2 |
HTTP: compress: gzip: calculating wbits and memlevel dynamically.gzip-v36
When the content length is small, optimize zlib for low memory usage.
Conversely, when the content length is large, use a similar amount of
memory within zlib, as it will improve compression, and won't hurt
significantly.
Signed-off-by: Alejandro Colomar <alx@nginx.com>
Diffstat (limited to 'src/nxt_work_queue.h')
0 files changed, 0 insertions, 0 deletions