Visited set — where it appears
Named by 3 essays across 3 fields — each of them below, with the objects they name alongside it.
Every copy points right
A greedy self-referential parse chooses each phrase's source from text already produced, so an occurrence copied from another lies strictly to its right. That one fact removes a visited set from a propagation, exactly as a left-first walk removed an array one strand ago.
The same occurrences, less bookkeeping
Two traversals examine identically many phrases and report identically many occurrences. What differs is that one holds every occurrence found so far in a set and the other holds an ordered list and a cursor.
A constant factor, not a term
The substitution was expected to remove a quantity proportional to the answer. Both traversals hold a quantity proportional to the answer, and what it removes is a factor of 1.6 that shrinks as the collection grows.
Named alongside it
The objects these essays reach for when they reach for this one.
Phrase indexPropagationSecondary occurrenceLempel ziv parseTraversal orderWorking memoryIndex sizePrevious occurrence chainSpace accounting