Please sign in to comment.
Avoid linear scan when adding new timer.
Timer callbacks are now assigned a unique id, such that if an existing callback is later replaced, the timing parameters can be updated using a constant-time lookup rather than a linear scan of the timer queue.
- Loading branch information...
Showing with 23 additions and 35 deletions.
4 additions, 4 deletions not shown because the diff is too large. Please use a local Git client to view these changes.