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 pitrou, python-dev, scoder, serhiy.storchaka, vstinner
Date 2016-08-24.23:19:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1472080746.36.0.501011008803.issue27841@psf.upfronthosting.co.za>
In-reply-to
Content
> Tuples use a freelist ;-)

Honestly, I didn't expect that my "fast call" thing would give any significant speedup. I know that tuple allocator uses a free list.

Fast calls allows to avoid INCREF/DECREF on each argument, can use the C stack for short memory allocations and C arrays are not tracked by the garbage collector. It looks like all these minor things altogether provides a concrete and significant speedup on benchmarks.

So, I pushed call_prepend.patch with two changes:

* Fix a typo in the function name :-D
* Fix a reference leak in slot_tp_new() ;-)
History
Date User Action Args
2016-08-24 23:19:06vstinnersetrecipients: + vstinner, pitrou, scoder, python-dev, serhiy.storchaka
2016-08-24 23:19:06vstinnersetmessageid: <1472080746.36.0.501011008803.issue27841@psf.upfronthosting.co.za>
2016-08-24 23:19:06vstinnerlinkissue27841 messages
2016-08-24 23:19:06vstinnercreate