TravelMapping / EduTools

Educational tools using TravelMapping data
3 stars 21 forks source link

HDX/AV: efficiency of run mode tight loop #545

Open jteresco opened 1 year ago

jteresco commented 1 year ago

Can we avoid the repeated calls to Date.now in the tight loop in nextStep?

The problem here is that an event handler triggered by setTimeout won't be processed until the current event handler being executed yields to the browser.