diff options
| author | bors <bors@rust-lang.org> | 2025-06-14 19:42:04 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-06-14 19:42:04 +0000 |
| commit | 49a8ba06848fa8f282fe9055b4178350970bb0ce (patch) | |
| tree | 53e2eca5cbbb2b632570cb8559be38b05620fff9 /compiler/rustc_parse/src/parser/expr.rs | |
| parent | cc87afd8c0f9992d29581a0c26075be0962be8c4 (diff) | |
| parent | 3a31f624216245f21e7b18ad9baeb0b700c0f18c (diff) | |
| download | rust-49a8ba06848fa8f282fe9055b4178350970bb0ce.tar.gz rust-49a8ba06848fa8f282fe9055b4178350970bb0ce.zip | |
Auto merge of #142289 - fmease:maybe-perf-gen-args, r=compiler-errors
[perf] `GenericArgs`-related: Change asserts to debug asserts & use more slice interning over iterable interning 1. The 1st commit yields the following perf gains: [#142289 (comment)](https://github.com/rust-lang/rust/pull/142289#issuecomment-2964041303). 2. The 2nd commit might also have a minor positive perf impact, however that one wasn't tested in isolation. For reference, the initial approach https://github.com/rust-lang/rust/commit/c7e6accd79d91fe5dec01a81499a08f9db280440 (results: https://github.com/rust-lang/rust/pull/142289#issuecomment-2961076587) had a lot more changes (apart from what's now contained in commit 1 and 2) which seemed to be perf irrelevant (cf. the partial countercheck in https://github.com/rust-lang/rust/commit/6f82bf1cfece61d32714fbfeecf8c5cf1356b3ae (results: https://github.com/rust-lang/rust/pull/142289#issuecomment-2968393647).
Diffstat (limited to 'compiler/rustc_parse/src/parser/expr.rs')
0 files changed, 0 insertions, 0 deletions
