Re:Let's test-drive some sorting algorithms
by glitchc on Wednesday June 23, 2021 @12:25PM
(#27606334)
"Test-drive" feels like a bit of a misnomer here. I was expecting more around performance and efficiency of sorting algorithms, but this article is mainly around how to build a test harness in Go.
from:
"...let’s only add a new code into our implementation if we have a test scenario that would justify its existence!"
to:
"Now let’s implement some sorting algorithm here. For now, let’s use the the algorithm called Bubble Sort."
to:
"Since the go standard library is more efficient, let’s change our implementation to use that instead"
100k elements in 14 seconds?