about summary refs log tree commit diff
path: root/src/rt/rust_stack.cpp
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2013-08-10 13:32:05 -0400
committerDaniel Micay <danielmicay@gmail.com>2013-08-11 03:14:35 -0400
commit768c9a43ab4c1fa53f21d1be30c72fde6b2367de (patch)
tree73cdd37ff4b737958a4823063f1b7eb222f2a8d9 /src/rt/rust_stack.cpp
parent2afed31eccf0a5e2e996f2d1b3aa1ed79cb31821 (diff)
downloadrust-768c9a43ab4c1fa53f21d1be30c72fde6b2367de.tar.gz
rust-768c9a43ab4c1fa53f21d1be30c72fde6b2367de.zip
str: optimize `with_capacity`
before:

test bench_with_capacity ... bench: 104 ns/iter (+/- 4)

after:

test bench_with_capacity ... bench: 56 ns/iter (+/- 1)
Diffstat (limited to 'src/rt/rust_stack.cpp')
0 files changed, 0 insertions, 0 deletions