Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #264
- Loading branch information
Showing
3 changed files
with
23 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cf94eed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Lexikos
This can potentially skip every other timer with the following consequences,
CheckScriptTimers()
)While neither order nor precision is guaranteed, I guess we can probably avoid changes in behaviour with something like,
The logic for avoiding ub seems solid 👍
cf94eed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without comments or any indication of how the timers are skipped, I found it difficult to see the logic of your code at first.
Commit 66b7f07