Jason NovingerM to Python · 1 month agoPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comexternal-linkmessage-square53linkfedilinkarrow-up169arrow-down14cross-posted to: [email protected]
arrow-up165arrow-down1external-linkPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comJason NovingerM to Python · 1 month agomessage-square53linkfedilinkcross-posted to: [email protected]
minus-squarelogging_strictlinkfedilinkarrow-up1·1 month agotype hints are static, not necessarily runtime. A chaos monkey throws everything at everything to see what breaks. That won’t be caught by perfect type hints, which is merely one tool in the toolbox. and when things break, often hear WAD, works as designed. Or some other nonsense excuse.
type hints are static, not necessarily runtime.
A chaos monkey throws everything at everything to see what breaks.
That won’t be caught by perfect type hints, which is merely one tool in the toolbox.
and when things break, often hear WAD, works as designed. Or some other nonsense excuse.