pop-os / cosmic-text

Pure Rust multi-line text handling

Home Page:https://pop-os.github.io/cosmic-text/cosmic_text/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advanced shaping very slow in debug mode

coolbluewater opened this issue · comments

Loading a medium-length file e.g., src/buffer.rs in a debug build takes over a minute but is more or less instantaneous in a release build.
I will try to investigate further, but is this a known issue for starters?

Update: this may be due to my being on a slightly older version which does not have the shape plan cache. Closing for now.