Re:A few things to remember while coding in Python
by tripzilch on Sunday May 20, 2012 @09:52AM
(#3998758)
I agree, I wondered about that same snippet.
And I tested with the `timeit` module, there's not really much of a performance difference either (although the version with `not` is slightly faster, it's just by less than a percent or so).
And I tested with the `timeit` module, there's not really much of a performance difference either (although the version with `not` is slightly faster, it's just by less than a percent or so).