KMP algorithm, sets @return[i] = length of longest prefix of pattern matching a suffix of text[0..=i].
(&self, text: impl IntoIterator<Item = C>)
source not stored for this graph (policy: none)
no outgoing calls