Watch for param value changes

It’s an elegant one, and I also didn’t know of args.frame, but there could be a problem once many developers use the trick, in that all the extra code guarded by the %64 will occur on the same frame for all modules, which could result in a non-trivial CPU consumption spike.

In my own implementation of a process divider for Impromptu, I start the counters with a random value, so as to stagger the occurences of %N == 0, and thus balance out the extra computing load across frames.

6 Likes