diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-03-19 08:56:24 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-03-21 10:08:29 +1100 |
| commit | cedb787f6e92fb079be75a9f2c00a808195543a9 (patch) | |
| tree | f17811b81d3d8f033da7f4f000b8aa52a5e5d97e /compiler/rustc_codegen_gcc/example/example.rs | |
| parent | 10644e0789a3c722e11f74968f24c1382f9ccb11 (diff) | |
| download | rust-cedb787f6e92fb079be75a9f2c00a808195543a9.tar.gz rust-cedb787f6e92fb079be75a9f2c00a808195543a9.zip | |
Remove `MatcherPosHandle`.
This type was a small performance win for `html5ever`, which uses a macro with hundreds of very simple rules that don't contain any metavariables. But this type is complicated (extra lifetimes) and perf-neutral for macros that do have metavariables. This commit removes `MatcherPosHandle`, simplifying things a lot. This increases the allocation rate for `html5ever` and similar cases a bit, but makes things easier for follow-up changes that will improve performance more than what we lost here.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/example.rs')
0 files changed, 0 insertions, 0 deletions
