possible Zstandard decompression improvements #14702
Labels
contributor friendly
This issue is limited in scope and/or knowledge of Zig internals.
enhancement
Solving this issue will likely involve adding new logic or components to the codebase.
standard library
This issue involves writing Zig code for the standard library.
Milestone
There are a few things that were explicitly not done in the initial Zstandard decompression PR that may be desired improvements. This issue is to collect them (and others that pop up in between) for future reference in a pre-1.0 stdlib review or to list them incase someone to tackle them earlier.
lib/std/compress/zstandard/decode/block.zig
to eagerly decode literals into an extra internal buffer.std.compress.zstd.decompress.decodeAlloc()
API). The frame window could be re-used between frames (provided it is large enough). The relevant allocation is here.The text was updated successfully, but these errors were encountered: