Comment on Python Performance: Why 'if not list' is 2x Faster Than Using len()

<- View Parent
lengau@midwest.social ⁨6⁩ ⁨days⁩ ago

I think a better analogy would be that you’re tuning your bike for better performance because the trade-offs of switching to a car are worse than keeping the bike.

source
Sort:hotnewtop