- Inventor of Piece Table == J Strother Moore, the inventor of the boyer-moore string search algorithm
Big Idea: Piece Table encoded as a Splay tree for large file edits
A splay tree is useful because it provides efficient lookup for workloads with high locality.
Demonstrates the tradeoffs of representing edits as a list v. as a splay tree
- Blogposts on writing a Text Editor for Desktop
- The conditions under which a Piece Table should be used - UTF-8
- Experience Blogpost, Piece Table implemented as a Linked List
- Atom Editor Experience Blog Post
- Comparison of Piece Table to other List Structures Paper, Crowley
- Arguments for the Piece Table Blogpost Pt.1
- Arguments for the Piece Table Blogpost Pt.2
- Piece Table Measurements in VS Code