The simulation shows a live piece table backing a small text editor, visualizing the original buffer, the growing add buffer, and the linked list of piece descriptors updating as you type and delete characters.
Type or delete text in the editor pane and watch the buffers and piece list panels update step by step, or use the playback controls to replay a sequence of edits and see exactly which pieces split or spliced at each step.
A live text input area alongside buffer and piece-list visualizations, plus step-through playback controls for edit history.
Because piece tables never overwrite existing buffer content, deleted text technically still sits untouched in memory even after it disappears from the document, simply no longer referenced by any active piece descriptor.
The simulation shows a live piece table backing a small text editor, visualizing the original buffer, the growing add buffer, and the linked list of piece descriptors updating as you type and delete characters.
The simulation shows a live piece table backing a small text editor, visualizing the original buffer, the growing add buffer, and the linked list of piece descriptors updating as you type and delete characters.
Type or delete text in the editor pane and watch the buffers and piece list panels update step by step, or use the playback controls to replay a sequence of edits and see exactly which pieces split or spliced at each step.
Because piece tables never overwrite existing buffer content, deleted text technically still sits untouched in memory even after it disappears from the document, simply no longer referenced by any active piece descriptor.