Closed
Description
Currently decompressing the metadata is ~10% (more on slower computers) of the build time of small crates (eg, the tests). Switching to a faster algorithm would bring that down. I think LZ4 is that algorithm:
- Compatibly licensed implementation (I think. @graydon? It's 2-clause BSD)
- Almost as good a compression ratio as zlib
- 5x faster decompression than zlib
- Much faster than snappy, marginally worse compression.
This has two parts:
- Add LZ4 wrapper
- Use it in rustc::metadata
Metadata
Metadata
Assignees
Labels
No labels