Python Performance: Why 'if not list' is 2x Faster Than Using len()
Python Performance: Why 'if not list' is 2x Faster Than Using len()

blog.codingconfessions.com
Python Performance: Why 'if not list' is 2x Faster Than Using len()

Python Performance: Why 'if not list' is 2x Faster Than Using len()
Python Performance: Why 'if not list' is 2x Faster Than Using len()
You're viewing a single thread.
Isn’t “-2x faster” 2x slower?
That woulb be 0.5x. −2x implies negative duration, which makes no sense. Neither does the layout of anything else in the image.
I think it was supposed to be a ~
, since they use that in a paragraph below the image.
Blame AI
It probably is AI. Either that, or a drunken stupor that produced that graph.
Maybe they mean up to?