mirror of
https://github.com/wez/wezterm.git
synced 2024-09-21 03:39:16 +03:00
831eda86b9
When a line is rapidly updated with only some of the cells being actually changed (eg: progress counter or other status being frequently updated), it is desirable to avoid paying the cost of shaping the entire line. When bidi is not enabled we can assume that it is safe to break clusters on whitespace boundaries. Doing so allows each of those whitespace separated words to be shaped and potentially cached independently, which reduces the amount of CPU time spent for the whole line. This commit just adjusts the clustering, which reduces the CPU utilization a bit. refs: https://github.com/wez/wezterm/issues/2701 |
||
---|---|---|
.. | ||
src | ||
build.rs | ||
Cargo.toml |