195
Python Performance: Why 'if not list' is 2x Faster Than Using len()
(blog.codingconfessions.com)
This is a most excellent place for technology news and articles.
I could have tripped, knocked over my keyboard, cried for 13 straight minutes on the floor, picked my keyboard back up, accidentally hit the enter key making a graph and it would have made more sense than this thing.
-2x faster. What does that even mean?
There's probably an "import * from relativity" in there somewhere.
From that little image, they're happy it takes a tenth of a fucking second to check if a list is empty?
What kind of dorito chip is that code even running on?