On Sat, Jun 15, 2013 at 2:44 PM, <alphons...@gmail.com> wrote: > I'm currently trying to make sense of Python's Timsort function. From the > wikipedia page I was told the algorithm is located somewhere here: > http://hg.python.org/cpython/file/default/Objects/listobject.c > > So of all the functions in there, could somebody point to me which one is > timsort? > > Thanks, if anyone can help. > Alphonse23
Actually, it looks to me like it's several of them, but the main function is here: http://hg.python.org/cpython/file/default/Objects/listobject.c#l1902. HTH, Zach -- http://mail.python.org/mailman/listinfo/python-list