Comment on Python Performance: Why 'if not list' is 2x Faster Than Using len()
ChaoticNeutralCzech@feddit.org 1 week agoThe list is not necessarily empty. If you were sure it was, why check?
Comment on Python Performance: Why 'if not list' is 2x Faster Than Using len()
ChaoticNeutralCzech@feddit.org 1 week agoThe list is not necessarily empty. If you were sure it was, why check?