mirror of
https://github.com/google/brotli.git
synced 2026-07-09 02:08:06 +00:00
Feature Request: Resumable stream compression/decompression #74
Reference in New Issue
Block a user
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?
Originally created by @YLivay on GitHub (Dec 4, 2015).
Hey!
Brotli's compression ratio and decompression speed makes it a very viable candidate for serving pre-compressed files to decompress on the fly as they are downloading. For big files its common to offer resumable downloads, but with stream decompression its impossible to use without restoring the stream decoder's context at the time it was stopped.
Is it possible add a function to the API to serialize the stream's context and resume it later?
Excuse me if I'm talking nonsense, I'm unfamiliar with the grits of Brotli's implementation :)
@eustas commented on GitHub (Dec 4, 2015):
Hello.
Serialized context may take up to 16 megabytes (the size of the window),...
Could you point to other compressors that have such API, please.
It will help us understand the best practices in the field...
Best regards,
Eugene.