Re:Imperative vs. Declarative
by textminer on Tuesday April 02, 2013 @02:10PM
(#5481051)
Oh, now I have to yell at myself. No doubt Python's sorted is some n*logn quicksort, and not actually in quadratic time. Crow for all!
[ Parent
| on HN ]
It's an adaptive mergesort-based sort: http://en.wikipedia.org/wiki/Timsort