about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2022-05-29 19:21:57 +0200
committerNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2022-05-31 10:51:35 +0200
commit3358a41acbcb82daf3cd71197b2a053152a9a376 (patch)
tree3eae0100aef267bc1f975ff3013e1d9c194ff119 /compiler/rustc_codegen_llvm/src
parent9d1aeaeb827da7a10b7cfaccf0a1d6ebf414a7b5 (diff)
downloadrust-3358a41acbcb82daf3cd71197b2a053152a9a376.tar.gz
rust-3358a41acbcb82daf3cd71197b2a053152a9a376.zip
Add unicode fast path to `is_printable`
Before, it would enter the full expensive check even for normal ascii
characters. Now, it skips the check for the ascii characters in
`32..127`. This range was checked manually from the current behavior.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions