diff options
| author | Michael Howell <michael@notriddle.com> | 2023-11-17 14:44:53 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-11-17 18:22:30 -0700 |
| commit | c76c2e71f01a61a9b11001b0dc3fe837975f41c0 (patch) | |
| tree | 603181212f210d780d6a9bea963b1e8184852a0d /compiler/rustc_codegen_gcc/src/base.rs | |
| parent | 6d5945284147be6dd22486fb1c189c57a98632cd (diff) | |
| download | rust-c76c2e71f01a61a9b11001b0dc3fe837975f41c0.tar.gz rust-c76c2e71f01a61a9b11001b0dc3fe837975f41c0.zip | |
rustdoc-search: fast path for 1-query unification
Short queries, in addition to being common, are also the base case for a lot of more complicated queries. We can avoid most of the backtracking data structures, and use simple recursive matching instead, by special casing them. Profile output: https://notriddle.com/rustdoc-html-demo-5/profile-3/index.html
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/base.rs')
0 files changed, 0 insertions, 0 deletions
