Thanks for your extensive reply. The logic I use matches your 2nd example, so the runtime is involved. I figured this would ensure updates to become visible but from your answer I understand that there’s a time window involved here as well.
The slicing you suggest will work for me at the expense of somewhat less clean code. So I think I’ll go down that route.
(I’m tempted to start playing with web workers but as I may want to pass functions later on, that won’t fly).