diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2018-05-18 16:19:35 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2018-05-18 22:20:33 +1000 |
| commit | ad471452ba6fbbf91ad566dc4bdf1033a7281811 (patch) | |
| tree | 4283b14578ef76334ee4dfc9eaf6bd71ed8ffa98 /src/rustllvm/RustWrapper.cpp | |
| parent | fcf2b24e1bafb66f87c4aa03cabac839032d9ad1 (diff) | |
| download | rust-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
