]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Auto merge of #81358 - mcastorina:to-upper-lower-speed, r=joshtriplett
authorbors <bors@rust-lang.org>
Wed, 17 Mar 2021 11:17:18 +0000 (11:17 +0000)
committerbors <bors@rust-lang.org>
Wed, 17 Mar 2021 11:17:18 +0000 (11:17 +0000)
commit0ce0fedb67fa66d50aa819ef8b12f1d89eb22d7d
tree410e1e03c785d954f3894c78b4eb1f1aa9f30818
parent2c7490379d7e8854192c176039cfabf6acefe7ef
parent229fdf839a348ddbdd2c6cf411767a565394a8ae
Auto merge of #81358 - mcastorina:to-upper-lower-speed, r=joshtriplett

Add a check for ASCII characters in to_upper and to_lower

This extra check has better performance. See discussion here:
https://internals.rust-lang.org/t/to-upper-speed/13896

Thanks to `@gilescope` for helping discover and test this.