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 jeethu
Recipients jeethu, pitrou, rhettinger, serhiy.storchaka, vstinner
Date 2018-01-17.00:56:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1516150615.35.0.467229070634.issue32534@psf.upfronthosting.co.za>
In-reply-to
Content
> Be careful. Moving "l.insert" lookup of the loop might make the code slower. I never looked why. But Python 3.7 was also optimized in many places to call methods, so I'm not sure anymore :)

Thanks again! Here's a gist without the hack[1].

[1]: https://gist.github.com/jeethu/19430d802aa08e28d1cb5eb20a47a470
History
Date User Action Args
2018-01-17 00:56:56jeethusetrecipients: + jeethu, rhettinger, pitrou, vstinner, serhiy.storchaka
2018-01-17 00:56:55jeethusetmessageid: <1516150615.35.0.467229070634.issue32534@psf.upfronthosting.co.za>
2018-01-17 00:56:55jeethulinkissue32534 messages
2018-01-17 00:56:55jeethucreate