Comment on Python Performance: Why 'if not list' is 2x Faster Than Using len()
Kacarott@aussie.zone 5 days agoNo, len
is a constant time operation, at least in most cases I believe.
Comment on Python Performance: Why 'if not list' is 2x Faster Than Using len()
Kacarott@aussie.zone 5 days agoNo, len
is a constant time operation, at least in most cases I believe.