diff options
| author | Ulrik Sverdrup <bluss@users.noreply.github.com> | 2015-07-08 22:52:06 +0200 |
|---|---|---|
| committer | Ulrik Sverdrup <bluss@users.noreply.github.com> | 2015-07-09 01:18:29 +0200 |
| commit | 5b6a4643583c2b580b9a57f48dd94ba5d7824765 (patch) | |
| tree | 8b73219d5253dca61c79edcee6b9f3c406cfcfb9 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | a5cc17adaadf9bc4da3b6b375879fda55ed823c9 (diff) | |
| download | rust-5b6a4643583c2b580b9a57f48dd94ba5d7824765.tar.gz rust-5b6a4643583c2b580b9a57f48dd94ba5d7824765.zip | |
io: Use Vec::resize in Cursor<Vec<u8>> for more efficient zero fill
Vec::resize compiles to better code than .extend(repeat(0).take(n)) does right now.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
