An implementation in golang of mergesort.
I am interested in learning go, and over time I have found that implementing mergesort is a good exercise to expose oneself to the basic features of a new programming language.
There are two implementations:
- Classic: Using recursion.
- Concurrent: Using go coroutines.
To run the tests and the benchmarks:
go test -bench .