16 ms·
Agree that zstd has performance but memory requirements are potentially orders larger, there is no browser support, and you can’t count on people having decompr
by zxcvbn4038 6y ago
Agree that zstd has performance but memory requirements are potentially orders larger, there is no browser support, and you can’t count on people having decompressor installed. It’s good if your compressing data for your use but it doesn’t have the reach of deflate. Maybe that will change in the future.
- vanderZwan 6y agoHow many orders larger, and larger than what? The 32kb? A megabyte is two orders larger than that, a gigabyte five orders larger. We got quite a bit of leeway here..
- wolf550e 6y agozstd and lz4 can be run in small memory footprints and without heap memory allocation and I bet zstd would beat DEFLATE in 32KB too (just not as much). It's not as popular yet, yes, but for internal use, including using HTTP content encoding if both your server and client support it, it's great.