Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: