Hacker News new | ask | show | jobs
by ehaliewicz2 906 days ago
If it was an issue, and a simple gap buffer isn't fast enough, you could do a linked list of gap buffers. Would still be pretty simple, and probably very fast.