NetsBlox / Snap--Build-Your-Own-Blocks

a visual programming language inspired by Scratch
http://snap.berkeley.edu
GNU Affero General Public License v3.0
3 stars 6 forks source link

Weird loop broadcast slowdown #1534

Open dragazo opened 1 month ago

dragazo commented 1 month ago

Sometimes if we broadcast inside a loop it can cause sim speed to drop to almost zero. Replacing the loop with other equivalent scheduling structures seems to bypass the problem, so I believe this is a bug.

Here is an example project pair, one with the problem and one without (by replacing the loop with a self-broadcast). I don't have a minimal example so far.