Comment on Python Performance: Why 'if not list' is 2x Faster Than Using len()
LegoBrickOnFire@lemmy.world 2 days agoI dislike treating None as an equivalent for the empy list, but that does not further the discussion…
I hurt myself in confusion while reading the second quote. Is it the right quote? (also, nazi (relating to the nsdap) is probably not the right word, did you mean fascist?)
sugar_in_your_tea@sh.itjust.works 2 days ago
Oops, copied from another thread apparently. Apparently my copy didn’t… copy. Here’s what it should be:
I’ll fix my original comment so it’s less confusing, but not in a way that makes you look like an idiot. :)