@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-square112fedilinkarrow-up1175arrow-down123
arrow-up1152arrow-down1external-linkPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.com@abhi9u@lemmy.world to Technology@lemmy.worldEnglish • 4 days agomessage-square112fedilink
minus-square@Opisek@lemmy.worldlinkfedilinkEnglish22•3 days agoThe graph makes no sense. Did a generative AI make it.
minus-square@sugar_in_your_tea@sh.itjust.workslinkfedilinkEnglish5•3 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.
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 screenshot