Created
December 1, 2013 01:57
-
-
Save hiredman/7727659 to your computer and use it in GitHub Desktop.
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
user=> (dotimes [n 10] (time (dotimes [i 5000000] ((fn [& args]) 1 2 3 4)))) | |
"Elapsed time: 69.02 msecs" | |
"Elapsed time: 3.008 msecs" | |
"Elapsed time: 2.752 msecs" | |
"Elapsed time: 4.784 msecs" | |
"Elapsed time: 2.614 msecs" | |
"Elapsed time: 2.615 msecs" | |
"Elapsed time: 2.596 msecs" | |
"Elapsed time: 2.607 msecs" | |
"Elapsed time: 2.617 msecs" | |
"Elapsed time: 4.033 msecs" | |
nil | |
user=> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment