Jason Novinger@programming.devM to Python@programming.dev · 5 days agoPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comexternal-linkmessage-square47fedilinkarrow-up11arrow-down10cross-posted to: technology@lemmy.world
arrow-up11arrow-down1external-linkPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comJason Novinger@programming.devM to Python@programming.dev · 5 days agomessage-square47fedilinkcross-posted to: technology@lemmy.world
minus-square🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖@lemm.eelinkfedilinkEnglisharrow-up0·3 days agoBut that’s an extra step of logic u must hold in ur head while trying to understand 12 other things.
But that’s an extra step of logic u must hold in ur head while trying to understand 12 other things.