@abhi9u@lemmy.world to Technology@lemmy.worldEnglish • 1 month agoPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comexternal-linkmessage-square115fedilinkarrow-up1223arrow-down10cross-posted to: python@programming.dev
arrow-up1223arrow-down1external-linkPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.com@abhi9u@lemmy.world to Technology@lemmy.worldEnglish • 1 month agomessage-square115fedilinkcross-posted to: python@programming.dev
minus-square@lengau@midwest.sociallinkfedilinkEnglish9•1 month 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