It would be handy to have a memory estimation also in the multi-threaded compression mode: https://github.com/facebook/zstd/blob/2cdd33ae16915f738613143496e963c5a1be353d/lib/zstd.h#L1290