4 ms·
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 doi
by klyrs 5y ago
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.