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

<- View Parent
Kacarott@aussie.zone ⁨5⁩ ⁨days⁩ ago

No, len is a constant time operation, at least in most cases I believe.

source
Sort:hotnewtop