Large Dictionaries

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Mon Jun 5 05:27:57 EDT 2006


In article <447af556$1 at nntp0.pdx.net>,
 Scott David Daniels <scott.daniels at acm.org> wrote:

>For example, time timsort (Python's internal sort) on pre-sorted
>data; you'll find it is handled faster than random data.

But isn't that how a reasonable sorting algorithm should behave? Less 
work to do if the data is already sorted?



More information about the Python-list mailing list