Browse Source
start of the update This allows specifying a return value like "return update, 10" to run at a near perfect 100Hz, where as before it would be run 10 ms after the script had completed it's loop, which can be highly variable as the script experiences interupts from the system, as well as needing the script author to take responsibility for calculating the desired update rate at the end. This was always intended to be fixed, but I pushed it back during the initial development, however people are begining to run scripts that have enough processing, or are rate sensitive enough that we are now needing to start correcting this, or scripts will have to do their best to guess the time, which will be inferior to us providing it. As a note if you exceeded the time expected we will be rescheduling the script immediately, thus it will have a schedule time in the past and will be slotted in. This can't indefinetly starve other scripts as they will still be slotted in, but if you request an update in 1 ms, but took 100ms to run we will simply slide you back into the queue 1ms after when you started running.zr-v5.1
1 changed files with 2 additions and 1 deletions
Loading…
Reference in new issue