STINNER Victor added the comment:

"My interpretation of the results. In CPython using operator.itemgetter() makes 
sorting up to 2 times faster"

If I remember correctly, Python functions implemented in C don't create a 
Python frame. The Python frame is an important cost in term of performances.

----------

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

Reply via email to