-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch compression algorithm from zstd to lz4 (#2112)
Advantages: * Faster compilation times * 3x faster encode and decode * Pure Rust crate * Can compress in wasm Disadvantages: | example .rrd | zstd | lz4 | | ------------- | ------------- | ------------- | | api_demo | 48 kB | 93 kB | | car | 120 kB | 375 kB | | clock | 28 kB | 53 kB | | colmap | 227 MB | 241 MB | | deep_sdf | 19 MB | 20 MB | | dicom | 39 MB | 64 MB | | nyud | 535 MB | 634 MB | | plots | 89 kB | 163 kB | | raw_mesh | 1.5 MB | 5.6 MB | | text_logging | 1.9 kB | 3.0 kB | I'm not sure what is the best trade-off here. I'm gonna check the compilation times too. Note that these compilation times impact our Rust users, as well as our contributors. ### Checklist * [x] I have read and agree to [Contributor Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and the [Code of Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md) <!-- This line will get updated when the PR build summary job finishes. --> PR Build Summary: https://build.rerun.io/pr/2112
- Loading branch information
Showing
4 changed files
with
40 additions
and
103 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters