abhi9u to TechnologyEnglish · 3 months agoPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comexternal-linkmessage-square149linkfedilinkarrow-up1220arrow-down124cross-posted to: [email protected][email protected]
arrow-up1196arrow-down1external-linkPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comabhi9u to TechnologyEnglish · 3 months agomessage-square149linkfedilinkcross-posted to: [email protected][email protected]
minus-squareiAvicennalinkfedilinkEnglisharrow-up3·3 months agoIf anything len tells you that it is a sequence or a collection, “not” does not tell you that. That I feel like is the main point of my objection.
If anything len tells you that it is a sequence or a collection, “not” does not tell you that. That I feel like is the main point of my objection.