Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

It is hard to get a noticeable difference in macrobenchmarks. I want to see 
results of microbenchmarks.

For tuples, the trashcan mechanism is the main culprit of the performance hit 
when use short-living tuples for passing arguments. For bound method objects 
the relative effect should be smaller, because looking up the method is more 
costly than building a tuple, and less bound method objects are created after 
implementing the method call optimization. But in any case we should know the 
maximal cost of this change before merging it.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33930>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to