abhi9u@lemmy.world to Technology@lemmy.worldEnglish · 4 months agoPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comexternal-linkmessage-square147fedilinkarrow-up1218cross-posted to: python@programming.dev
arrow-up1218external-linkPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comabhi9u@lemmy.world to Technology@lemmy.worldEnglish · 4 months agomessage-square147fedilinkcross-posted to: python@programming.dev
minus-squareAvicenna@lemmy.worldlinkfedilinkEnglisharrow-up2·4 months agoI feel like that only serves the purpose up to the point that methods are not over reaching otherwise then it turns into remembering what a method does for a bunch of unrelated objects.
I feel like that only serves the purpose up to the point that methods are not over reaching otherwise then it turns into remembering what a method does for a bunch of unrelated objects.