]> Sergey Matveev's repositories - public-inbox.git/commitdiff
gzipfilter: lazy allocate the deflate context
authorEric Wong <e@yhbt.net>
Sat, 21 Mar 2020 02:03:45 +0000 (02:03 +0000)
committerEric Wong <e@yhbt.net>
Wed, 25 Mar 2020 01:48:35 +0000 (01:48 +0000)
zlib contexts are memory-intensive, particularly when used for
compression.  Since the gzip filter may be sitting in a limiter
queue for a long period, delay the allocation we actually have
data to translate, and not a moment sooner.


No differences found