perf: fast-path grapheme counts and cache terminal layouts

This commit is contained in:
2026-10-10 00:41:29 +02:00
parent 05c044bd02
commit 455108a909
5 changed files with 47 additions and 3 deletions
Generated
+7
View File
@@ -180,6 +180,12 @@ dependencies = [
"libc",
]
[[package]]
name = "critical-section"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "790eea4361631c5e7d22598ecd5723ff611904e3344ce8720784c93e3d83d40b"
[[package]]
name = "crossbeam-deque"
version = "0.8.8"
@@ -1066,6 +1072,7 @@ checksum = "cbb175c433c8e28a809d1f5773a2ae96e68c0ce40db865cbab1020bf33ae479c"
dependencies = [
"bitflags 2.13.2",
"compact_str",
"critical-section",
"hashbrown 0.17.1",
"itertools",
"kasuari",