Piece table

A piece table is a data structure typically used to represent a series of edits on a (potentially) read-only text document. An initial reference (or 'span') to the whole of the original file is created, with subsequent inserts and deletes being created as combinations of one, two, or three references to sections of either the original document or of the spans associated with earlier inserts.

References


This article is issued from Wikipedia - version of the Tuesday, May 27, 2014. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.