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-square149fedilinkarrow-up1220arrow-down124
arrow-up1196arrow-down1external-linkPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comabhi9u@lemmy.world to Technology@lemmy.worldEnglish · 1 month agomessage-square149fedilink
minus-squareChaoticNeutralCzech@feddit.orglinkfedilinkEnglisharrow-up5·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-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkEnglisharrow-up2·edit-21 month 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·1 month 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?