Comment on Python Performance: Why 'if not list' is 2x Faster Than Using len()
iAvicenna@lemmy.world 1 week 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.