Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increase Compression Streams output buffer size
Since zlib uses 256KiB of memory per compression stream with default settings, a size of 16KiB will not increase memory usage by a large proportion. This should make processing data slightly faster. Ideally we'd want this to be larger than deflate's 32KiB window size which would allow zlib to avoid some extra copying during decompression, but that can be done at a later time alongside other compression optimizations.
- Loading branch information