Pike v8.1 release 6

Method Array.diff_longest_sequence()


Method diff_longest_sequence

array(int) diff_longest_sequence(array a, array b)

Description

Gives the longest sequence of indices in b that have corresponding values in the same order in a.

See also

diff(), diff_compare_table(), String.fuzzymatch()