forked from JuliaLang/julia
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Small improvements to Timer (JuliaLang#39510)
* delay launching Task until just before it is needed This is a performance/memory optimization: previously, it would start running at an indeterminate time between when it was defined and when it was needed, possibly wasting memory until then. * Timer: don't create a one-shot timer * Timer: Don't fail silently when callback fails Co-authored-by: Jameson Nash <jameson@juliacomputing.com>
- Loading branch information
1 parent
1d422c7
commit 0a3aa9a
Showing
3 changed files
with
35 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