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).