Method Array.diff_dyn_longest_sequence()


Method diff_dyn_longest_sequence

array(int) diff_dyn_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.

This function performs the same operation as diff_longest_sequence(), but uses a different algorithm, which in some rare cases might be faster (usually it's slower though).

See also

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