diff options
| author | bors <bors@rust-lang.org> | 2023-04-23 06:58:28 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-04-23 06:58:28 +0000 |
| commit | 9de7d9169c6f2208c544a3d4a170719360cae58c (patch) | |
| tree | 4b71b786d77a4597dfe4a48405267126276eb873 /compiler/rustc_mir_transform/src/coverage/spans.rs | |
| parent | 61de794664e673cb98c01274b3bc88b8a994001a (diff) | |
| parent | f74fe8bf4ca773e416d4da3a3bf37045b06ea3de (diff) | |
| download | rust-9de7d9169c6f2208c544a3d4a170719360cae58c.tar.gz rust-9de7d9169c6f2208c544a3d4a170719360cae58c.zip | |
Auto merge of #110655 - ChrisDenton:read-to-end, r=joshtriplett
Limit read size in `File::read_to_end` loop Fixes #110650. Windows file reads have perf overhead that's proportional to the buffer size. When we have a reasonable expectation that we know the file size, we can set a reasonable upper bound for the size of the buffer in one read call.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/spans.rs')
0 files changed, 0 insertions, 0 deletions
