Document ways to set the compression level #4
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Colin/wasm-gzip#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello,
Would it be possible to document the way in which the compression level can be set?
It is currently not possible to specify the compression level. Libflate, which this library is wrapping, only provides one LZ77 encoder for compression. At the moment, the default window size of it is the maximum (32768), so it is using the best compression level.
I could make the window size configurable and allow choosing a worse but faster compression that requires less memory. Is this what you're after?
Actually, I was looking for the best compression level. Since this is what the library is already doing, I don't need any options.