Closed
Description
The NetLogo Web compiler does not yet reproduce any of the desktop compiler's optimizations. This has two negative effects:
- Some primitives are much slower than they need to be
- It causes divergent RNG states
I think that item (2) is honestly the bigger problem right now. Sure, I welcome any speedup that NetLogo Web gets, but (2) causes legitimate problems. First of all, it means that some of our language tests cannot be run, because the tests error when they detect divergent RNG states. Secondly, it means that random-seed
does not always guarantee reproducible results between desktop NetLogo and NLW, which is unpleasant, and it's not easy for users to predict when divergence will occur and when it won't.