News for hackers. Stuff that matters.
Re:Smaller and faster data compression with Zstandard by caf on Wednesday August 31, 2016 @10:00PM (#12402724)
I don't think 8MB is the smallest preset, the text you quoted says that the lower levels use "1 MB or less".

The concern I have is that this makes it sound like the compressor can choose how much memory the decompressor will need to use. Does this mean that zstd can't be used in a potentially adversarial environment? (Eg. is there a denial-of-service vector here by forcing the server to use large amounts of memory to decompress my requests?)

Re:Smaller and faster data compression with Zstandard by Cyan4973 on Thursday September 01, 2016 @10:17PM (#12410369)
The decompressor can receive a parameter to refuse compressed frames requiring more than a selected amount of memory.
Re:Smaller and faster data compression with Zstandard by gliptic on Thursday September 01, 2016 @08:59AM (#12404870)
It will not use (much) more memory than the size of the output in any case. 8MB is the window here, which just means the decompressor can discard data that falls outside this 8MB window as it is decompressing.