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

<- View Parent
iAvicenna@lemmy.world ⁨2⁩ ⁨days⁩ ago

well it does not imply directly per se since you can “not” many things but I feel like my first assumption would be it is used in a bool context

source
Sort:hotnewtop