diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-03-19 09:53:41 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-03-21 10:09:24 +1100 |
| commit | 754dc8e66f77da219a077d147009816e8275eed3 (patch) | |
| tree | 386116921add72627099af690558458eeefe4026 /compiler/rustc_codegen_gcc/example/example.rs | |
| parent | cedb787f6e92fb079be75a9f2c00a808195543a9 (diff) | |
| download | rust-754dc8e66f77da219a077d147009816e8275eed3.tar.gz rust-754dc8e66f77da219a077d147009816e8275eed3.zip | |
Move items into `TtParser` as `Vec`s.
By putting them in `TtParser`, we can reuse them for every rule in a macro. With that done, they can be `SmallVec` instead of `Vec`, and this is a performance win because these vectors are hot and `SmallVec` operations are a bit slower due to always needing an "inline or heap?" check.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/example.rs')
0 files changed, 0 insertions, 0 deletions
