Mark Shannon <m...@hotpy.org> added the comment:

If the problem is that methodcaller is not faster than a lambda, then why not 
use a lambda?

Lambdas are just Python functions and calling them will get faster.

We aren't going to spend time optimizing calls to methodcaller, so you might as 
well use a lambda.

----------
nosy: +Mark.Shannon

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

Reply via email to