Remix.run Logo
kccqzy 3 hours ago

But zstd is super tunable. Where gzip gives you compression levels from 1 to 9, zstd gives you up to 22 for ultra compression and negative compression levels for ultra fast. The ultra fast options so fast that they are great as a substitute for memcpy if your CPU is already waiting for other things, like DRAM.

handsome_jack_ 3 hours ago | parent [-]

Comparing it to memcpy is idiotic.

kccqzy 3 hours ago | parent [-]

No it’s not. The pace of improvement of CPU compute speed is far greater than that of DRAM throughput. And in fact compression algorithms geared towards speed aims to outperform memcpy (on suitable machines).