This is a great post. However, the author brings up an issue with the way that lambdas are handled by the JVM. According to the article, lambdas are not garbage collected and can therefore overrun the PermGen, a special place in the heap for storing anonymous classes, and as a result, the user must increase the size of the PermGen area to allow the program to run without running out of memory. I'd love to hear a little more about this issue if anyone happens to know more about it. Is this truly an issue with the current implementation of Clojure running on the JVM or is this more of an issue with the way the author coded up his solution? If the former is true, does anyone know if there are any plans to correct it? If it's the latter, however, can someone please point out the problems with the author's implementation and give some suggestions on how we can avoid similar mistakes.
Thanks, Christopher On Jan 26, 3:59 pm, bOR_ <boris.sch...@gmail.com> wrote: > Hope this isn't a double-post, but here is a nice example of a rewrite > of some reddit post on a genetic algorithm for generating the mona > lisa in clojure by Yann N. Dauphin > > http://npcontemplation.blogspot.com/2009/01/clojure-genetic-mona-lisa... --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---