or if it's for me
I replied to your post; it is for you.
not sure what your asking,
Your data showed single characters: @array1 = [A,B,F,G]; if that was representative of your real data, there is an optimisation that could be used.
each vertex is a string of alphanumeric characters
The solution I posted will work for strings (or any other kind of data) and is the fastest solution possible. Over 50 times faster than 1169738; and correct.
In reply to Re^3: Fast Way to find one array in second array
by BrowserUk
in thread Fast Way to find one array in second array
by melmoth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |