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 vstinner
Recipients jeethu, pitrou, rhettinger, serhiy.storchaka, vstinner
Date 2018-01-17.00:28:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1516148923.65.0.467229070634.issue32534@psf.upfronthosting.co.za>
In-reply-to
Content
> I’ve run the benchmark that you've suggested with a minor change (to avoid the cost of LOAD_ATTR)

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 :)
History
Date User Action Args
2018-01-17 00:28:43vstinnersetrecipients: + vstinner, rhettinger, pitrou, serhiy.storchaka, jeethu
2018-01-17 00:28:43vstinnersetmessageid: <1516148923.65.0.467229070634.issue32534@psf.upfronthosting.co.za>
2018-01-17 00:28:43vstinnerlinkissue32534 messages
2018-01-17 00:28:43vstinnercreate