On Thu, Sep 22, 2011 at 11:12 AM, Michael Fogus <mefo...@gmail.com> wrote:
> > the body of loop in a function to preserve bindings if other fns are > > discovered that close over them so as to avoid introducing a perf hit. > > It would be interesting to see if GClosure is smart enough to deal > with the naive implementation. I know what I'll experiment on > tomorrow. :-) On further consideration I think it's more desirable to wrap the fns at their declaration site in a function which is immediately called to preserve the loop bindings. No need for the entire loop body to pay for preserving locals. David -- 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