3 ms·
> > The worst way to store and manipulate text is to use an array. > Claim made from theoretical considerations, without any actual reference to real-world edi
by gumby 3y ago
> > The worst way to store and manipulate text is to use an array.
> Claim made from theoretical considerations, without any actual reference to real-world editors.
I also found this weird, especially when the author then extols the piece table (an approach going back at least to the early 60s) which itself is nothing but an array!
And the author did cite emacs as an example (emacs inherited that approach from TECO).
- gumby 3y agos/piece table/buffer gap/ or else my comment makes absolutely no sense. Note to self: do not comment from bed.