about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2013-12-01 00:58:27 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2013-12-01 00:58:27 +1100
commitbe6ae6eb373551936fffe83ebe085e4819ab00c0 (patch)
tree263b5667c7a3f2252c9e09d716855301a84ebddb /src/rustllvm/RustWrapper.cpp
parent80991bb578329ca921fdc910d9b6b064e8f521d2 (diff)
downloadrust-be6ae6eb373551936fffe83ebe085e4819ab00c0.tar.gz
rust-be6ae6eb373551936fffe83ebe085e4819ab00c0.zip
std::io::mem: add a with_capacity constructor to MemWriter.
This allows one to reduce the number of reallocs of the internal buffer
if one has an approximate idea of the size of the final output.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions