Jason NovingerM to Python · 4 days agoPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comexternal-linkmessage-square52linkfedilinkarrow-up165arrow-down14cross-posted to: [email protected]
arrow-up161arrow-down1external-linkPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comJason NovingerM to Python · 4 days agomessage-square52linkfedilinkcross-posted to: [email protected]
minus-squareNalivai@lemmy.worldlinkfedilinkarrow-up4·edit-24 days 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.