diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-11-25 18:35:40 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-25 18:35:40 +0100 |
| commit | aec60c6b7cc511979b176f9935b9f9d7c807ecd2 (patch) | |
| tree | 85b4ce8626f991cf10c7793f8b768de49e62e8c1 /compiler/rustc_trait_selection/src/traits/util.rs | |
| parent | 8f3f4980b4c9cf7b062b2c7638070e256381114f (diff) | |
| parent | 433d471a1a06b5852c7f6b5d276725933d8ddce6 (diff) | |
| download | rust-aec60c6b7cc511979b176f9935b9f9d7c807ecd2.tar.gz rust-aec60c6b7cc511979b176f9935b9f9d7c807ecd2.zip | |
Rollup merge of #104797 - weihanglo:stream-write-dwp, r=jackh726
rustc_codegen_ssa: write `.dwp` in a streaming fashion When writing a `.dwp` file, rustc writes to a Vec first then to a BufWriter-wrapped file. It seems very likely that we can write in a streaming fashion to avoid double buffering in an intermediate Vec. On my Linux machine, `.dwp` from the latest rust-lang/cargo is 113MiB. It may worth a stream writer, though I didn't do any benchmark 🙇🏾♂️.
Diffstat (limited to 'compiler/rustc_trait_selection/src/traits/util.rs')
0 files changed, 0 insertions, 0 deletions
