Jason Novinger@programming.devM to Python@programming.dev · 2 months agoPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comexternal-linkmessage-square53fedilinkarrow-up167arrow-down14cross-posted to: [email protected]
arrow-up163arrow-down1external-linkPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comJason Novinger@programming.devM to Python@programming.dev · 2 months agomessage-square53fedilinkcross-posted to: [email protected]
minus-squareNalivai@lemmy.worldlinkfedilinkarrow-up4·edit-22 months 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.