Re:The unknown features of Python's `operator` module
by JonathonW on Sunday August 08, 2021 @03:39PM
(#28109454)
'operator' actually maps to C implementations if possible; you're still calling Python functions, but the implementations in 'operator' should be a bit faster than defining your own in pure Python (or the pure Python implementations that get used if the _operator C module is not available for some reason): https://github.com/python/cpython/blob/3.9/Modules/_operator...
[ Parent
| on HN ]
There are no comments on this comment yet.