abhi9u@lemmy.world to Technology@lemmy.worldEnglish · 9 months agoPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comexternal-linkmessage-square112linkfedilinkarrow-up1176arrow-down123
arrow-up1153arrow-down1external-linkPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comabhi9u@lemmy.world to Technology@lemmy.worldEnglish · 9 months agomessage-square112linkfedilink
minus-squarelengau@midwest.sociallinkfedilinkEnglisharrow-up8·9 months agoI think a better analogy would be that you’re tuning your bike for better performance because the trade-offs of switching to a car are worse than keeping the bike.
minus-squareAzzu@lemm.eelinkfedilinkEnglisharrow-up4·9 months agoGood, more people should buy bicycles
I think a better analogy would be that you’re tuning your bike for better performance because the trade-offs of switching to a car are worse than keeping the bike.
Ok… I’ll buy that
Good, more people should buy bicycles