1. 8

Abstract: “The data structure used to maintain the sequence of characters is an important part of a text editor. This paper investigates and evaluates the range of possible data structures for text sequences. The ADT interface to the text sequence component of a text editor is examined. Six common sequence data structures (array, gap, list, line pointers, xed size buers and piece tables) are examined and then a general model of sequence data structures that encompasses all six structures is presented. The piece table method is explained in detail and its advantages are presented. The design space of sequence data structures is examined and several variations on the ones listed above are presented. These sequence data structures are compared experimentally and evaluated based on a number of criteria. The experimental comparison is done by implementing each data structure in an editing simulator and testing it using a synthetic load of many thousands of edits. We also report on experiments on the senstivity of the results to variations in the parameters used to generate the synthetic editing load.”


  2. 3

    I’m getting a 404. Do you have a mirror?

    1. 3

      It’s working for me. Here’s a Wayback copy.

      1. 3


    2. 1

      no mention of ropes?

      1. 1

        That’s a newer thing popularized in the Xi project. Most text editors didn’t use them per comments in the last discussion.