user=> (time (dotimes [i 100000000] [i]))So, it seems that creating a closure is faster than creating a vector. Cool.
"Elapsed time: 5928.406543 msecs"
user=> (time (dotimes [i 100000000] #(i)))
"Elapsed time: 1774.025749 msecs"
Wednesday, November 19, 2008
This post has moved, go to its new location
Posted by Christophe Grand at 8:46 PM