2009/9/18 ajuc <aju...@gmail.com> > > I was probably wrong - too many classes should throw error about > permGenSpace (at least in java they do). >
Yes. A literal (fn) will only create one class. And returning it 100.000 times in a tight loop will create 100.000 instances of this class. > > Also for me it works for n=1000000, fails for 10000000 (clojurebox > 1.0). > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---