diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2016-10-21 20:22:28 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2016-10-24 14:08:06 +1100 |
| commit | 9270a9217a5c44455ec8e5e7b36920ab71816004 (patch) | |
| tree | 73e4c8f257f74731fd0e7d934a70a3ed44b2135b /src/test/run-pass/thinlto | |
| parent | 1e5dab1da04143a454a4f3d7e3f835ce990b437a (diff) | |
| download | rust-9270a9217a5c44455ec8e5e7b36920ab71816004.tar.gz rust-9270a9217a5c44455ec8e5e7b36920ab71816004.zip | |
Use `SmallVector` in `CombineFields::instantiate`.
This avoids 4% of malloc calls when compiling rustc-benchmarks/issue-32278-big-array-of-strings, and 1--2% for other benchmarks. A small win, but an easy one.
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions
