|
|
|
|
|
by iscoelho
887 days ago
|
|
Here's an example of the same issue in Rust:
https://dropbox.tech/infrastructure/lossless-compression-wit... (with bounds checks) "Telling the Rust allocator to avoid zeroing the memory when allocating for Brotli improves the speed to 224 MB/s." (without bounds checks) "Activating unsafe mode results in another gain, bringing the total speed up to 249MB/s, bringing Brotli to within 82% of the C code." 224MB/s -> 249MB/s (11% Brotli compression perf difference just by eliminating bounds checks) |
|
I don’t doubt that all of those things in the article were true back then, but that was eight years ago. Wow.