about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-11-07 16:09:39 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-11-13 08:43:47 +1100
commit99d02fb40fd339255ed08596ebeb41e9b8a09d45 (patch)
tree3ebe2f9443ca8b246449f7831749063db4ef46a0 /compiler/rustc_codegen_llvm/src
parentf7273e0044ad8f35ad27282e4ab776af50b61a54 (diff)
downloadrust-99d02fb40fd339255ed08596ebeb41e9b8a09d45.tar.gz
rust-99d02fb40fd339255ed08596ebeb41e9b8a09d45.zip
Optimize `check_keyword_case`.
`to_lowercase` allocates, but `eq_ignore_ascii_case` doesn't. This path
is hot enough that this makes a small but noticeable difference in
benchmarking.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions