@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-square115fedilinkarrow-up1223arrow-down10cross-posted to: python@programming.dev
arrow-up1223arrow-down1external-linkPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.com@abhi9u@lemmy.world to Technology@lemmy.worldEnglish • 1 month agomessage-square115fedilinkcross-posted to: python@programming.dev
minus-square@AnUnusualRelic@lemmy.worldlinkfedilinkEnglish2•edit-21 month agoFrom that little image, they’re happy it takes a tenth of a fucking second to check if a list is empty? What kind of dorito chip is that code even running on?
From that little image, they’re happy it takes a tenth of a fucking second to check if a list is empty?
What kind of dorito chip is that code even running on?