Re:The unknown features of Python's `operator` module
by klyrs on Sunday August 08, 2021 @07:00PM
(#28110986)
The timings are certainly closer, but the built-in function imported from operator is still faster than the user-defined function. Not a big deal if you're doing simple stuff, but if this code is in a hot loop that 30% can make a measurable difference.
[ Parent
| on HN ]
There are no comments on this comment yet.