We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
lookup_slow
1 parent 7ced5df commit 09bc972Copy full SHA for 09bc972
core/src/unicode/unicode_data.rs
@@ -433,6 +433,8 @@ pub mod grapheme_extend {
433
pub fn lookup(c: char) -> bool {
434
(c as u32) >= 0x300 && lookup_slow(c)
435
}
436
+
437
+ #[inline(never)]
438
fn lookup_slow(c: char) -> bool {
439
const {
440
assert!(SHORT_OFFSET_RUNS.last().unwrap().0 > (char::MAX as u32));
0 commit comments