bors 9de7d9169c 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.
2023-04-23 06:58:28 +00:00
..
2023-04-16 06:49:27 +00:00
2023-04-12 19:27:18 +02:00
2023-04-16 06:49:27 +00:00
2023-04-20 19:54:46 -07:00
2023-04-12 19:27:18 +02:00
2023-04-12 19:27:18 +02:00
2023-04-12 19:27:18 +02:00