News for hackers. Stuff that matters.
Re:Sorting in Python by rnnr on Wednesday June 11, 2014 @05:23PM (#7880511)
You could also insert Timsort in the end, which is what python uses and a fabulous algorithm by Tim Peters.
Re:Sorting in Python by mathattack on Wednesday June 11, 2014 @06:22PM (#7880775)
Call me uneducated, but I always thought that since it featured so heavily in Python, it was named after this Tim. a https://www.youtube.com/watch?v=QDAeJ7eLGGg
Re:Sorting in Python by rnnr on Wednesday June 11, 2014 @09:19PM (#7881345)
no, this Tim would have been disastrous for the data!
Re:Sorting in Python by bnmnetp on Thursday June 12, 2014 @08:39AM (#7883016)
Great idea. In other parts of the book we discuss how Python implements lists and other data structures, so that would fit in nicely with that theme.