abhi9u@lemmy.world to Technology@lemmy.worldEnglish · 7 days agoPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comexternal-linkmessage-square136fedilinkarrow-up1215arrow-down124cross-posted to: lobsters
arrow-up1191arrow-down1external-linkPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comabhi9u@lemmy.world to Technology@lemmy.worldEnglish · 7 days agomessage-square136fedilinkcross-posted to: lobsters
minus-squarelengau@midwest.sociallinkfedilinkEnglisharrow-up9·7 days 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.
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