Hacker News new | ask | show | jobs
by dtf 2232 days ago
Looks like an array of lines, which is a completely reasonable structure to use.

There's a good post on the Visual Studio Code blog about why and when they moved on from an array of lines to a new structure based on a piece table.

https://code.visualstudio.com/blogs/2018/03/23/text-buffer-r...