Interesting read again, thanks!
If you run into issues in the future, godot also supports multithreading, so you could move some of these calculations to their own threads.
I totally forgot that was a thing. 😄 I'll look into that.