rust/compiler/rustc_codegen_ssa
Matthias Krüger aec60c6b7c
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 🙇🏾‍♂️.
2022-11-25 18:35:40 +01:00
..
src Rollup merge of #104797 - weihanglo:stream-write-dwp, r=jackh726 2022-11-25 18:35:40 +01:00
Cargo.toml Move the cast_float_to_int fallback code to GCC 2022-08-16 15:46:17 -07:00
README.md

Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.