You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm a big fan of super lean build times so I try to audit dependencies to find areas to improve. In this case it seems unicode-linebreak implements a rather chunky build.rs script that makes it your second slowest building dependency (after swash).
xi-unicode pre-bakes the unicode tables without a build.rs so it builds much faster.
Hi! I'm quite excited for this library.
I'm a big fan of super lean build times so I try to audit dependencies to find areas to improve. In this case it seems
unicode-linebreak
implements a rather chunkybuild.rs
script that makes it your second slowest building dependency (afterswash
).xi-unicode
pre-bakes the unicode tables without a build.rs so it builds much faster.Swapping is an easy one-line change:
Change this line:
cosmic-text/src/font/matches.rs
Line 246 in ac83f58
to this:
Alongside the obvious
cargo.toml
changes.Edit: I ran
editor-test
and it reported "All lines matched!". I haven't ran further tests.The text was updated successfully, but these errors were encountered: