Jason NovingerM to Python · 10 days agoPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comexternal-linkmessage-square53linkfedilinkarrow-up168arrow-down14cross-posted to: [email protected]
arrow-up164arrow-down1external-linkPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comJason NovingerM to Python · 10 days agomessage-square53linkfedilinkcross-posted to: [email protected]
minus-squareEphera@lemmy.mllinkfedilinkEnglisharrow-up3·10 days agoYeah, my stance for both of those is the same: If the complexity aids you in communicating better, then use it. But if you’re using big words where small words would do, then you’re doing a disservice to your readers.
Yeah, my stance for both of those is the same: If the complexity aids you in communicating better, then use it. But if you’re using big words where small words would do, then you’re doing a disservice to your readers.