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

<- View Parent
dreugeworst@lemmy.ml ⁨2⁩ ⁨weeks⁩ ago

why comment if you don’t even want to read the article? python lists are not linked lists, they’re contiguous with a smart growth strategy.

source
Sort:hotnewtop