You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix-plus/helix-term
Blaž Hrastnik 11c3ba9350 Speed up ensure_next_boundary during render
This code:

    let start = ensure_grapheme_boundary_next(text, text.byte_to_char(start));
    let end = ensure_grapheme_boundary_next(text, text.byte_to_char(end));

Would convert byte to char index, but then internally immediately convert back
to byte index, operate on it, then convert it to char index.

This change reduces the amount of time spent in ensure_grapheme_boundary from
29% to 2%.
2 years ago
..
src Speed up ensure_next_boundary during render 2 years ago
.gitignore Initial import. 4 years ago
Cargo.toml Dependabot/cargo/pulldown cmark 0.9.1 (#1533) 2 years ago
build.rs Add commit hash to version info, if present (#957) 3 years ago