@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@ChaoticNeutralCzech@feddit.orglinkfedilinkEnglish5•1 month agoThat woulb be 0.5x. −2x implies negative duration, which makes no sense. Neither does the layout of anything else in the image.
minus-square@sugar_in_your_tea@sh.itjust.workslinkfedilinkEnglish2•edit-21 month agoI think it was supposed to be a ~, since they use that in a paragraph below the image.
Isn’t “-2x faster” 2x slower?
That woulb be 0.5x. −2x implies negative duration, which makes no sense. Neither does the layout of anything else in the image.
I think it was supposed to be a
~
, since they use that in a paragraph below the image.Maybe they mean up to?