about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2025-01-26 14:28:15 -0500
committerMark Rousskov <mark.simulacrum@gmail.com>2025-01-26 14:28:15 -0500
commit07de7a4bf932a229f1a9116c80d9a859a6d4a9fc (patch)
tree8f1625582b0cccb5e635cbb6daa15647658d6274 /compiler/rustc_codegen_llvm/src
parentccbfe505f6909d9108a0235d4a6309988783f024 (diff)
downloadrust-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