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 methane, serhiy.storchaka, vstinner, yselivanov
Date 2017-02-09.16:27:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1486657648.75.0.292401823657.issue29507@psf.upfronthosting.co.za>
In-reply-to
Content
method_fastcall4.patch: Based on method_fastcall3.patch, I just added call_unbound() and call_unbound_noarg() helper functions to factorize code. I also modified mro_invoke() to be able to remove lookup_method().

I confirm the speedup with attached bench.py:

Median +- std dev: [ref] 121 ns +- 5 ns -> [patch] 82.8 ns +- 1.0 ns: 1.46x faster (-31%)
History
Date User Action Args
2017-02-09 16:27:28vstinnersetrecipients: + vstinner, methane, serhiy.storchaka, yselivanov
2017-02-09 16:27:28vstinnersetmessageid: <1486657648.75.0.292401823657.issue29507@psf.upfronthosting.co.za>
2017-02-09 16:27:28vstinnerlinkissue29507 messages
2017-02-09 16:27:28vstinnercreate