Jason Novinger@programming.devM to Python@programming.dev · 3 days agoPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comexternal-linkmessage-square52linkfedilinkarrow-up163arrow-down14cross-posted to: technology@lemmy.world
arrow-up159arrow-down1external-linkPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comJason Novinger@programming.devM to Python@programming.dev · 3 days agomessage-square52linkfedilinkcross-posted to: technology@lemmy.world
minus-square🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖@lemm.eelinkfedilinkEnglisharrow-up1·16 hours agoUr function args if fucked up should always throw an error that’s the entire point of python type hints
Ur function args if fucked up should always throw an error that’s the entire point of python type hints