Junior Developer at Interplay Learning - Feel free to contact me via LinkedIn or connect on Github, I am always happy to chat with folks from this community!
Junior Developer at Interplay Learning - Feel free to contact me via LinkedIn or connect on Github, I am always happy to chat with folks from this community!
Excellent work Christina.
You're an expert of sorts. ;)
I perf-tested all of them.
The quickSort throws even on quite small arrays due to the stackoverflow recursion
The fastest is the merge sort, in the 1-2 second range for an array of 1M numbers.
First of all, good one 😂
Second, thanks for double checking and good to know about your findings! Did you test it in codepen by chance?
I perf-tested these locally.
An example usage per func...
genRandNums Source Code
gist.github.com/funfunction/f7adf6...
timeInLoop Source Code
gist.github.com/funfunction/91b587...
Oh this is awesome, thanks for sharing!