Created
September 15, 2018 09:48
-
-
Save Bennyelg/ddaef14d2757ac41b87f71f957b16061 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import singleton | |
import times | |
import strformat | |
for _ in countup(1, 3): | |
var start = now() | |
echo("Starting test..") | |
echo(singletonInstance.value) | |
echo(fmt"took: {(now() - start).milliseconds}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment