Big O notation
In computer science, a substring index is a data structure which gives substring search in a text or text collection in sublinear time. If you have a document formula_1 of length formula_2, or a set of documents formula_3 of total length formula_2, you can locate all occurrences of a pattern formula_5 in formula_6 time. (See Big O notation.)