3 ms·
And insertion sort is not so bad with 20 elements. It doesn't take much for it to start falling over, though. [1]: https://jsperf.com/array-unique-filter-2/1 h
by Veedrac 9y ago
And insertion sort is not so bad with 20 elements. It doesn't take much for it to start falling over, though.
[1]: https://jsperf.com/array-unique-filter-2/1 https://jsperf.com/array-unique-filter-2/1