Hi
I’d really appreciate your thoughts on best practice for creating an indefinite simulation.
I recently published Solving the Schrödinger equation 01 where I managed to create a simulation that goes on indefinitely. What I observed is that everything starts off great but then quite quickly slows down a lot.
I created another notebook that’s simpler in order to more clearly demonstrate what’s going on:
I am only ever updating two variables, but from the look of things in the dev tools the memory usage keeps going up. I feel like I must be missing something quite basic but it is eluding me.
Thanks for taking the time to look at my post .
Matt