Skip to content

Instantly share code, notes, and snippets.

@yayitswei
Created October 27, 2014 23:43
Show Gist options
  • Save yayitswei/db118466ff8ecb813653 to your computer and use it in GitHub Desktop.
Save yayitswei/db118466ff8ecb813653 to your computer and use it in GitHub Desktop.
user=> (time (first (reduce concat (repeat 2000 [1]))))
"Elapsed time: 3.369 msecs"
1
user=> (time (first (reduce into (repeat 2000 [1]))))
"Elapsed time: 9.901 msecs"
1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment