[Tutor] A mergesort

Stefan Behnel stefan_ml at behnel.de
Sat Aug 31 22:46:14 CEST 2013


D.V.N.Sarma డి.వి.ఎన్.శర్మ, 31.08.2013 18:30:
> I have been searching for mergesort implimentations in python and came
> across this.

In case this isn't just for education and you actually want to use it, the
built-in sorting algorithm in Python (used by list.sort() and sorted()) is
a very fast mergesort variant. Anything you could write in Python code is
bound to be slower.

Stefan




More information about the Tutor mailing list