abhi9u@lemmy.world to Technology@lemmy.worldEnglish · 3 个月前Python Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comexternal-linkmessage-square149linkfedilinkarrow-up1221arrow-down124
arrow-up1197arrow-down1external-linkPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comabhi9u@lemmy.world to Technology@lemmy.worldEnglish · 3 个月前message-square149linkfedilink
minus-squareJerkface (any/all)@lemmy.calinkfedilinkEnglisharrow-up5arrow-down2·3 个月前Alternatively, 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?