minus-squareKacarott@aussie.zonetoTechnology@lemmy.world•Python Performance: Why 'if not list' is 2x Faster Than Using len()linkfedilinkEnglisharrow-up2·7 days agoNo, len is a constant time operation, at least in most cases I believe. linkfedilink
No,
len
is a constant time operation, at least in most cases I believe.