Closed qiemem closed 9 years ago
An alternative would be allowing people to simply transform GUI models into headless models (#23). If people want to run their models faster, they can run them as gui models
For this to work, the RunCommand.perform()
method would have to test if the GUIModel's frame is visible. If it is not, it should try to treat the gui model as a headless while it runs the command. If that works, great. If it doesn't, people will just have to live with worse performace in GUI models and consider whether they want them.
I don't think this is an issue anymore. GUI children are pretty fast now.
The synchronization in
runSafely
(https://github.com/NetLogo/LevelsSpace/blob/master/src/LevelsSpace.java#L529) results in a major performance hit. There's got to be ways to improve it.