abhi9u@lemmy.world to Technology@lemmy.worldEnglish · 2 months agoPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comexternal-linkmessage-square118linkfedilinkarrow-up1196arrow-down121cross-posted to: python@programming.dev
arrow-up1175arrow-down1external-linkPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comabhi9u@lemmy.world to Technology@lemmy.worldEnglish · 2 months agomessage-square118linkfedilinkcross-posted to: python@programming.dev
minus-squareJerkface (any/all)@lemmy.calinkfedilinkEnglisharrow-up5arrow-down1·2 months agoAlternatively, why wait twice as long for your python code to execute as you have to?
Alternatively, why wait twice as long for your python code to execute as you have to?