diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-11-28 16:09:54 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-28 16:09:54 +0100 |
| commit | 97ef5a3b532a471da95e32640cee0a5aa9bb04bb (patch) | |
| tree | c380692d1c6c8eb5ceb4baf220272e06cf48096d /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | b8e1194ab22a991253fa2ee73156fdb5fb87d893 (diff) | |
| parent | bc7dd5fa6d87d8a2826511a2e25aba976e4e1f25 (diff) | |
| download | rust-97ef5a3b532a471da95e32640cee0a5aa9bb04bb.tar.gz rust-97ef5a3b532a471da95e32640cee0a5aa9bb04bb.zip | |
Rollup merge of #118222 - the8472:copy-use-vec-write, r=m-ou-se
unify read_to_end and io::copy impls for reading into a Vec This ports over the initial probe (to avoid allocation) and the dynamic read sizing from the io::copy specialization to the `default_read_to_end` implementation which already had its own optimizations for different cases. I think it should be a best-of-both now. suggested by `@a1phyr` in https://github.com/rust-lang/rust/pull/117576#issuecomment-1803408492
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
