This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients barry, rhettinger, serhiy.storchaka, vstinner
Date 2017-11-23.13:12:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1511442773.77.0.213398074469.issue32039@psf.upfronthosting.co.za>
In-reply-to
Content
Yet one mistake: https://stackoverflow.com/questions/35014951/why-is-max-slower-than-sort

$ python3 -m timeit -s 'import random;a=list(range(10000));random.shuffle(a)' 'a.sort();a[-1]'

Here the list is sorted at first iteration, and all following iterations measure the speed of sorting a sorted list.
History
Date User Action Args
2017-11-23 13:12:53serhiy.storchakasetrecipients: + serhiy.storchaka, barry, rhettinger, vstinner
2017-11-23 13:12:53serhiy.storchakasetmessageid: <1511442773.77.0.213398074469.issue32039@psf.upfronthosting.co.za>
2017-11-23 13:12:53serhiy.storchakalinkissue32039 messages
2017-11-23 13:12:53serhiy.storchakacreate