Compares SugarJS and arr. unions and intersections on two arrays of dimensions labeled over buttons.
Arrays has random values of different types.
Results and timing are shown on console so open it for details.



Test on numbers and strings only, if unchecked all types are used.

It's iteration 2, previous -- ermouth.com/fastArray/.

I still think SugarJS better use this page code.

Timing of arr greatly improved and md5 dependency discarded. Sugar shows O(n²), arr. still O(n), but now 7× faster ).
Yours, ermouth