Optimize ZSTDCodec::doUncompress()
Summary: It is ~10% faster to call `ZSTD_decompress()` than use the streaming API. The streaming API does some extra `memcpy`s that we can avoid. We are working on improving the speed of the streaming API in the case where all the data can be processed in one shot, but that won't be available in the stable ZSTD api for a few versions. Reviewed By: yfeldblum Differential Revision: D4731058 fbshipit-source-id: 39026c499c0f5002466097b5afe7e30f850e0ae8
Showing
Please register or sign in to comment