refactor(native): cache & job runtime (#15139)

This commit is contained in:
DarkSky
2026-06-22 11:48:37 +08:00
committed by GitHub
parent 7ea8800c99
commit bb8454e7e1
39 changed files with 6390 additions and 62 deletions
+2 -5
View File
@@ -26,11 +26,8 @@ fn try_remove_label(s: &str, i: usize) -> Option<usize> {
return None;
}
if let Some(ch) = s[next_idx..].chars().next() {
if !ch.is_whitespace() {
return None;
}
} else {
let ch = s[next_idx..].chars().next()?;
if !ch.is_whitespace() {
return None;
}