abhi9u@lemmy.world to Technology@lemmy.worldEnglish · 8 days agoPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comexternal-linkmessage-square119fedilinkarrow-up1168arrow-down121
arrow-up1147arrow-down1external-linkPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comabhi9u@lemmy.world to Technology@lemmy.worldEnglish · 8 days agomessage-square119fedilink
minus-squareOpisek@lemmy.worldlinkfedilinkEnglisharrow-up21·7 days agoThe graph makes no sense. Did a generative AI make it.
minus-squarepyre@lemmy.worldlinkfedilinkEnglisharrow-up4·6 days agoyeah I got angry just looking at it
minus-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkEnglisharrow-up4·7 days agoI think there’s a good chance of that: -2x instead of ~2x - a human is unlikely to make that mistake no space here: ==0 - there’s a space every other time it’s done, including the screenshot the numbers are wrong - the screenshot has different data than the image why are there three bars? A naive approach would have two.
minus-squareiknowitwheniseeit@lemmynsfw.comlinkfedilinkEnglisharrow-up3·7 days agoMy ad blocker has blocked all pictures on this article, so I can’t say. 😄
The graph makes no sense. Did a generative AI make it.
yeah I got angry just looking at it
I think there’s a good chance of that:
-2x
instead of~2x
- a human is unlikely to make that mistake==0
- there’s a space every other time it’s done, including the screenshotMy ad blocker has blocked all pictures on this article, so I can’t say. 😄