diff options
| author | bors <bors@rust-lang.org> | 2023-08-28 05:15:56 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-08-28 05:15:56 +0000 |
| commit | 41cb42a370b35707a75c79ff9ab6af1191b638fb (patch) | |
| tree | c36b9d3ee534c593067b7b9f1c8e00c1d48e9e3d /library/std/src/os/unix/fs.rs | |
| parent | f7dd70c3c9edeecdbedf4d80c83317c50a817756 (diff) | |
| parent | f26293dca4a4bc2fa6158964546617a6a34da639 (diff) | |
| download | rust-41cb42a370b35707a75c79ff9ab6af1191b638fb.tar.gz rust-41cb42a370b35707a75c79ff9ab6af1191b638fb.zip | |
Auto merge of #115296 - saethlin:dont-duplicate-allocs, r=jackh726
Load include_bytes! directly into an Lrc This PR deletes an innocent-looking `.into()` that was converting from a `Vec<u8>` to `Lrc<[u8]>`. This has significant runtime and memory overhead when using `include_bytes!` to pull in a large binary file.
Diffstat (limited to 'library/std/src/os/unix/fs.rs')
0 files changed, 0 insertions, 0 deletions
