Remix.run Logo
▲ Someone 5 hours ago

So, is the speedup specific to the compression format or can (parts of) it applied to the zstd code base, too? If so, how much would that speed up zstd? At what cost (CPU load, memory usage)?

▲nonadhocproblem 5 hours ago | parent [-]

It uses a different compression format from zstd, and I suspect that most of the speedups won't cleanly transfer. Broadly speaking, the speedup can be attributed to the format being much friendlier to properties of modern cores that older codecs probably didn't plan for (strong OoO execution, big ROBs and caches, etc).

▲atiedebee 3 hours ago | parent [-]

Zstd does make use of out of order execution, the author has a really nice blog where they explain some of the techniques they used: https://fastcompression.blogspot.com/2015/07/huffman-revisit...