about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2019-12-24 12:47:51 +0100
committerAndrea Canciani <ranma42@gmail.com>2020-02-11 10:22:47 +0100
commit4e7aeaf1b52ee66ede1adb104fcd08b0463eb0f9 (patch)
tree63714665d664085780edc48352ec4ee60a9e881a /src/test/debuginfo/enum-thinlto.rs
parentdc4242d9052a42cdf329c3a2430d02a3b3d415cb (diff)
downloadrust-4e7aeaf1b52ee66ede1adb104fcd08b0463eb0f9.tar.gz
rust-4e7aeaf1b52ee66ede1adb104fcd08b0463eb0f9.zip
Improve `char::is_ascii_*` code
These methods explicitly check if a char is in a specific ASCII range,
therefore the `is_ascii()` check is not needed, but LLVM seems to be
unable to remove it.

WARNING: this change improves the performance on ASCII `char`s, but
complex checks such as `is_ascii_punctuation` become slower on
non-ASCII `char`s.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions