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

AnUnusualRelic@lemmy.world ⁨1⁩ ⁨week⁩ ago

From that little image, they’re happy it takes a tenth of a second to check if a list is empty?

What kind of dorito chip is that code even running on?

source
Sort:hotnewtop