Jason Novinger@programming.devM to Python@programming.dev · 1 year agoPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comexternal-linkmessage-square53linkfedilinkarrow-up163arrow-down14
arrow-up159arrow-down1external-linkPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comJason Novinger@programming.devM to Python@programming.dev · 1 year agomessage-square53linkfedilink
minus-squareNalivai@lemmy.worldlinkfedilinkarrow-up4·1 year agoHow many elements in that list? Ah, it’s not list. It’s list, of course, we checked. But it’s not.
How many elements in that list? Ah, it’s not list. It’s list, of course, we checked. But it’s not.