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

<- View Parent
Kacarott@aussie.zone ⁨1⁩ ⁨month⁩ ago

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

source
Sort:hotnewtop