minus-squareNalivai@lemmy.worldtoPython@programming.dev•Python Performance: Why 'if not list' is 2x Faster Than Using len()linkfedilinkarrow-up4·edit-214 days agoHow many elements in that list? Ah, it’s not list. It’s list, of course, we checked. But it’s not. linkfedilink
How many elements in that list? Ah, it’s not list. It’s list, of course, we checked. But it’s not.