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

<- View Parent
orcrist@lemm.ee ⁨1⁩ ⁨week⁩ ago

It is a small performance tweak if done once, right? But let’s suppose people worried about refactoring here would have checked to see what areas of their code are seeing heavy use.

source
Sort:hotnewtop