This greatly improves the performance of isSubsequenceOf. The current implementation was crashing my browser tab for lists longer than 25-30 elements. Additionally, for smaller Lists of 10-20 elements, my benchmarks are showing a greater than 40% improvement in runtime.
This greatly improves the performance of
isSubsequenceOf
. The current implementation was crashing my browser tab for lists longer than 25-30 elements. Additionally, for smaller Lists of 10-20 elements, my benchmarks are showing a greater than 40% improvement in runtime.