Bug in timsort!?

Skip Montanaro skip.montanaro at gmail.com
Tue Feb 24 18:50:41 EST 2015


On Tue, Feb 24, 2015 at 5:38 PM, MRAB <python at mrabarnett.plus.com> wrote:
> I think the key word here is "currently".

Sure, but it's not like you have to put out security updates tomorrow.
Even if/when we get to the point where machines can hold an array of
2**49 elements, I suspect people won't be using straight Python to
wrangle them. They will likely use other languages, and if using
Python, will be using something to accelerate things (PyPy, numpy,
etc). Does, for example, numpy's sort() function suffer from the same
flaw? Does PyPy use Timsort?

Skip



More information about the Python-list mailing list