abhi9u@lemmy.world to Technology@lemmy.worldEnglish · 1 年前Python Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comexternal-linkmessage-square82linkfedilinkarrow-up1124arrow-down113cross-posted to: [email protected]
arrow-up1111arrow-down1external-linkPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comabhi9u@lemmy.world to Technology@lemmy.worldEnglish · 1 年前message-square82linkfedilinkcross-posted to: [email protected]
minus-squarelengau@midwest.sociallinkfedilinkEnglisharrow-up4·1 年前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.
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