Get the latest tech news

Ropey – A UTF8 text rope for manipulating and editing large text


A utf8 text rope for manipulating and editing large texts. - cessen/ropey

Ropey puts work into tracking both line endings and unicode scalar values, which is performance overhead you may not need depending on your use-case. On a recent mobile i7 Intel CPU, Ropey performed over 1.8 million small incoherent insertions per second while building up a text roughly 100 MB large. Although effort has been put into keeping the unsafe code compartmentalized and making it correct, please be cautious about using Ropey in software that may face adversarial conditions.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Rust

Rust

Photo of UTF8 text rope

UTF8 text rope

Photo of large texts

large texts

Related news:

News photo

Build a Database in Four Months with Rust and 647 Open-Source Dependencies

News photo

Great things about Rust that aren't just performance

News photo

Embedding Scheme in Rust