Occurrence — where it appears
Named by 3 essays across 3 fields — each of them below, with the objects they name alongside it.
The crossing that never arrives
Output-sensitive document listing exists because a pattern can occur four thousand times in eight documents. On a real collection of two thousand short documents it occurs 1.04 times per document, and the whole apparatus buys nothing at all.
The array the walk never reads
Document listing compares a chain entry against the start of a range. The comparison is true exactly when the document has not been reported yet — which the walk already knows, because it just wrote it down.
One copy per document is one occurrence per document
The output-sensitive listing apparatus wins when a pattern occurs far more often than it occurs in documents. A collection of versions was supposed to be that case, and it is the one collection where the two numbers are equal by construction.
Named alongside it
The objects these essays reach for when they reach for this one.
Document collectionDocument listingOutput-sensitiveRange minimumCorpusIndex sizeSuffix arrayCrossingCrossing pointDocument arrayInvariantMeasurement design