Open ac812 opened 2 years ago
2) Some basics on good coding practice in algorithms.
Again, keeping the code as simple as possible, avoiding recomputing values multiple times and avoiding using more memory than required. Learning how to use timeit to explore which parts of your code are slow.
Something like here: https://www.geeksforgeeks.org/optimization-tips-python-code/
more notes related to this from Anton: