On Nov 13, 11:48 pm, Robert McIntyre <r...@mit.edu> wrote: > So my friend and I were screwing around, battling versions of LISP as > nerds are wont to do, when I came across this: > > (eval `(clojure.core/+ ~@(take 1e4 (iterate inc 1)))) > Invalid method Code length 89884 in class file user$eval13607 > > This is just trying to evaluate + directly on a bunch of arguments. > > Common Lisp on my friend's 30 year old Lisp machine does the > equivalent of this with ease, even for much larger numbers. > > As I'm writing this, my "friend" is rubbing in this in my face by also > doing the above with C-LISP on his laptop. (although his stack > overflows for 1e5) > > I'm losing my battle!!! :( > Pls. help! > > --Robert McIntyre Well, assuming the memory is available, at least Clojure is guaranteed to support vectors with more than 1024 elements...
-- 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