abhi9u@lemmy.world to Technology@lemmy.worldEnglish · 4 days agoPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comexternal-linkmessage-square151fedilinkarrow-up1219arrow-down124
arrow-up1195arrow-down1external-linkPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comabhi9u@lemmy.world to Technology@lemmy.worldEnglish · 4 days agomessage-square151fedilink
minus-squareChaoticNeutralCzech@feddit.orglinkfedilinkEnglisharrow-up5·3 days agoThat woulb be 0.5x. −2x implies negative duration, which makes no sense. Neither does the layout of anything else in the image.
minus-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkEnglisharrow-up2·edit-23 days agoI think it was supposed to be a ~, since they use that in a paragraph below the image.
minus-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkEnglisharrow-up2·3 days agoIt probably is AI. Either that, or a drunken stupor that produced that graph.
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.Blame AI
It probably is AI. Either that, or a drunken stupor that produced that graph.
Maybe they mean up to?