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 sir-sigurd
Recipients sir-sigurd
Date 2017-08-02.18:53:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1501700026.5.0.776654640231.issue31108@psf.upfronthosting.co.za>
In-reply-to
Content
> python -mtimeit -s "l = list(range(100000))" "l[-1] in l"
1000 loops, best of 3: 1.34 msec per loop
> python -mtimeit -s "l = list(range(100000))" "l[-1] in iter(l)"                                
1000 loops, best of 3: 1.59 msec per loop
History
Date User Action Args
2017-08-02 18:53:46sir-sigurdsetrecipients: + sir-sigurd
2017-08-02 18:53:46sir-sigurdsetmessageid: <1501700026.5.0.776654640231.issue31108@psf.upfronthosting.co.za>
2017-08-02 18:53:46sir-sigurdlinkissue31108 messages
2017-08-02 18:53:46sir-sigurdcreate