Hi,

On Feb 22, 11:43 am, Johnny Kwan <johnny.c.k...@gmail.com> wrote:

> (time (reduce + (range 1 10000000))) ; 4.5 secs on my Macbook Air
> (time (apply + (range 1 10000000))) ; OutOfMemory error

Ah. It holds unto the head.

Sincerely
Meikel

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to