about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorUlrik Sverdrup <bluss@users.noreply.github.com>2015-07-08 22:52:06 +0200
committerUlrik Sverdrup <bluss@users.noreply.github.com>2015-07-09 01:18:29 +0200
commit5b6a4643583c2b580b9a57f48dd94ba5d7824765 (patch)
tree8b73219d5253dca61c79edcee6b9f3c406cfcfb9 /src/libstd/sys/unix/stack_overflow.rs
parenta5cc17adaadf9bc4da3b6b375879fda55ed823c9 (diff)
downloadrust-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