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

<- View Parent
FooBarrington@lemmy.world ⁨3⁩ ⁨days⁩ ago

This is honestly the worst version regarding readability. Don’t rely on implicit coercion, people.

source
Sort:hotnewtop