Discover why 'if not mylist' is twice as fast as 'len(mylist) == 0' by examining CPython's VM instructions and object memory access patterns.
Communicated so clearly. Thank you for writing about this. I can picture myself linking to it in a future PR comment.
Hey Spencer, how are you? It's been long time.
I am glad you enjoyed it and found it useful. I will try to do more of these which are practically useful and insightful. I have a couple of more ideas.
Communicated so clearly. Thank you for writing about this. I can picture myself linking to it in a future PR comment.
Hey Spencer, how are you? It's been long time.
I am glad you enjoyed it and found it useful. I will try to do more of these which are practically useful and insightful. I have a couple of more ideas.