about summary refs log tree commit diff
path: root/src/rt/rust_crate_cache.cpp
diff options
context:
space:
mode:
authorMarijn Haverbeke <marijnh@gmail.com>2011-08-29 22:46:25 +0200
committerMarijn Haverbeke <marijnh@gmail.com>2011-08-29 22:46:49 +0200
commitb099b1e3f7fd0956c0fd0be5901eb2ffce0e956e (patch)
treef9f139308378da84884cb5f295521f9cccb5d678 /src/rt/rust_crate_cache.cpp
parent14567c5eb05b6dd7ba9706a605c8d3ee8c5d8742 (diff)
downloadrust-b099b1e3f7fd0956c0fd0be5901eb2ffce0e956e.tar.gz
rust-b099b1e3f7fd0956c0fd0be5901eb2ffce0e956e.zip
Make std::istr::push_byte efficient
It used to allocate two (!) heap values per pushed byte. It now goes through
a runtime function that simply grows the istr and writes the byte.
Diffstat (limited to 'src/rt/rust_crate_cache.cpp')
0 files changed, 0 insertions, 0 deletions