about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorPiotr Czarnecki <pioczarn@gmail.com>2014-08-25 14:26:18 +0100
committerPiotr Czarnecki <pioczarn@gmail.com>2014-09-09 20:34:41 +0100
commit5aaa60693222c98c92fbde830f9a85c24f2e3f4f (patch)
tree8e9008e1c6e88131acd62ed5c6cb9977962101cf /src/rustllvm/RustWrapper.cpp
parent696367fb8de63a3ff264c65981457b9fbd0e7b06 (diff)
downloadrust-5aaa60693222c98c92fbde830f9a85c24f2e3f4f.tar.gz
rust-5aaa60693222c98c92fbde830f9a85c24f2e3f4f.zip
Optimize for the most common cases of `format!`
Format specs are ignored and not stored in case they're all default.
Restore default formatting parameters during iteration.
Pass `None` instead of empty slices of format specs to take advantage
of non-nullable pointer optimization.

Generate a call to one of two functions of `fmt::Argument`.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions