coderefinery / TTT4HPC_resource_management

https://coderefinery.github.io/TTT4HPC_resource_management
1 stars 0 forks source link

The Python bonus part where we reduce memory demand -> turn it into an exercise #20

Open bast opened 4 months ago

bast commented 4 months ago

This can become an optional exercise.

It can be very instructive to see the difference between list and generator in terms of memory demand. A number of times somebody wanted to buy more RAM and the solution was to change two characters in the code.