Expand description

An index-accessed table implementation that avoids duplicate entries.


  • A table of sequences which tries to avoid common subsequences.
  • Collect items into the table list, removing duplicates.


  • Try to find the subsequence sub in the whole sequence. Returns None if it’s not been found, or Some(index) if it has been. Naive implementation until proven we need something better.