Hacker News new | ask | show | jobs
by mudkipdev 204 days ago
For internals a lot of text editors use ropes as the core data structure, which makes text buffers fast.

https://en.wikipedia.org/wiki/Rope_(data_structure) https://github.com/cessen/ropey