Array.diff_dyn_longest_sequence()
 
   
[Top]
predef::
Array

Method Array.diff_dyn_longest_sequence()


Method diff_dyn_longest_sequence

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


Insert any HTML comment here. You can use any HTML tags and containers. Use <phl> ... </phl> if you'd like to insert some Pike / C examples or code.
 
HTML OK CSS