diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2025-01-26 14:28:15 -0500 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2025-01-26 14:28:15 -0500 |
| commit | 07de7a4bf932a229f1a9116c80d9a859a6d4a9fc (patch) | |
| tree | 8f1625582b0cccb5e635cbb6daa15647658d6274 /compiler/rustc_codegen_llvm/src | |
| parent | ccbfe505f6909d9108a0235d4a6309988783f024 (diff) | |
| download | rust-07de7a4bf932a229f1a9116c80d9a859a6d4a9fc.tar.gz rust-07de7a4bf932a229f1a9116c80d9a859a6d4a9fc.zip | |
Pre-intern name when searching module children
This avoids a good deal of work, since each module child can now just be compared via u32 comparison, rather than fetching the raw &str (requiring locking and indexing into the interner) and then comparing the two strings (also relatively expensive).
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
