So you can have a string with millions of characters (a loaded document) and you can edit it efficiently.
So you can have a string with millions of characters (a loaded document) and you can edit it efficiently.
https://github.com/xi-editor/xi-editor/issues/1192#issuecomm...
There's a way to search through rope chunks by using the low level regex-automata: https://github.com/rust-lang/regex/issues/425#issuecomment-7...
Alacritty currently does that to search over it's cells, I'd like to look into it.
It sounds like that offsets lot of performance gains the rust regex engine is supposed to provide, actually.
Search might be slower with a more complicated lookup (versus a probably-inlined-and-otherwise-optimized pointer-plus-index addition), but that wasn't the problem described; the problem decribed was that non-array lookups weren't supported at all, and search required copying the data over to a array before the regex engine would deign to touch it.
0: for a example, not a suggestion that they would be a good fit for a text editor