Jason Novinger@programming.devM to Python@programming.dev · 15 hours agoPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comexternal-linkmessage-square19fedilinkarrow-up138arrow-down14cross-posted to: technology@lemmy.world
arrow-up134arrow-down1external-linkPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comJason Novinger@programming.devM to Python@programming.dev · 15 hours agomessage-square19fedilinkcross-posted to: technology@lemmy.world
minus-squareNalivai@lemmy.worldlinkfedilinkarrow-up4·edit-28 hours 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.