about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2018-05-18 16:19:35 +1000
committerNicholas Nethercote <nnethercote@mozilla.com>2018-05-18 22:20:33 +1000
commitad471452ba6fbbf91ad566dc4bdf1033a7281811 (patch)
tree4283b14578ef76334ee4dfc9eaf6bd71ed8ffa98 /src/rustllvm/RustWrapper.cpp
parentfcf2b24e1bafb66f87c4aa03cabac839032d9ad1 (diff)
downloadrust-ad471452ba6fbbf91ad566dc4bdf1033a7281811.tar.gz
rust-ad471452ba6fbbf91ad566dc4bdf1033a7281811.zip
Make `Directory::path` a `Cow`.
Because we create a lot of these in the macro parser, but only very
rarely modify them.

This speeds up some html5ever runs by 2--3%.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions