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 pitrou, serhiy.storchaka, terry.reedy, vstinner
Date 2017-06-14.05:21:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1497417694.19.0.554633943049.issue30509@psf.upfronthosting.co.za>
In-reply-to
Content
Without Py_LOCAL_INLINE all mickrobenchmarks become about 20% slower.

I'm not sure that all these changes are needed. Maybe the same effect can be achieved by smaller changes. But I tried and failed to achieve the same performance with a smaller patch yet. Maybe you will be more lucky.

Note that even with this patch type slots still about 5% slower than ordinal methods (despite the fact that using operators needs less bytecode instructions than calling a method). There is some additional overhead.
History
Date User Action Args
2017-06-14 05:21:34serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, pitrou, vstinner
2017-06-14 05:21:34serhiy.storchakasetmessageid: <1497417694.19.0.554633943049.issue30509@psf.upfronthosting.co.za>
2017-06-14 05:21:34serhiy.storchakalinkissue30509 messages
2017-06-14 05:21:33serhiy.storchakacreate