Add shape-run-cache feature, that can significantly improve shaping performance

This commit is contained in:
Jeremy Soller 2024-02-08 11:12:41 -07:00
parent 990d66ed41
commit 1eb3233373
No known key found for this signature in database
GPG key ID: D02FD439211AF56F
7 changed files with 134 additions and 2 deletions

View file

@ -252,7 +252,7 @@ impl AttrsOwned {
#[derive(Debug, Clone, Eq, PartialEq)]
pub struct AttrsList {
defaults: AttrsOwned,
spans: RangeMap<usize, AttrsOwned>,
pub(crate) spans: RangeMap<usize, AttrsOwned>,
}
impl AttrsList {