4 ms·
It is also marginally faster, I think.
by eirki 6y ago
It is also marginally faster, I think.
- dagw 6y agoJust did a quick check, and looping over an array of 1 million Nones and checking each element el==None was roughly 25% slower than el is None edit: Doing None==el was roughly 15% slower