Prefer faster compression methods under good network
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 7k
- Forks
- 1.1k
- Avg merge
- 22h 40m
- Merged PRs (30d)
- 46
Description
Describe the problem you are trying to solve
Decompression can be an bottleneck if the network is fast. XZ (LZMA) is surprising slow and can quickly dominate the time spent on installation.
For network connections faster than broadband, we should consider not using LZMA compression. This includes home fiber and datacenters, notably CI environments.
Describe the solution you'd like
- Add a configuration so the user can select preferred compression method.
- (If possible) Add an
autooption that tries to detect network speed. - Consider distributing archives with new algorithms such as zstandard.
Notes
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by locating rustup's archive download and installation path, then clarify the scope for configurable compression, optional network-speed detection, and additional algorithms; done requires an agreed design and corresponding coverage for the selected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100