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.
Or read this on Hacker News