Announcing crop, the fastest UTF-8 text rope for Rust

304 points noibee

Hey y'all, today I'm releasing crop, a B-tree-based UTF-8 text rope.

Ropes are used as the backing text buffer by many Rust-based text editors like Helix, Lapce and Xi, and crop provides the fastest implementation to date.

In the README you'll find a more in-depth overview of crop's features together with a code tour of crop's API. I've also added some benchmarks comparing crop against Ropey and xi-rope, two similar projects. Enjoy!

repo: https://github.com/noib3/crop

benchmarks: https://github.com/noib3/crop/blob/master/BENCHMARKS.md