My guess is that the resulting ephemeral garbage would have only a small effect on performance, retaining most of the advantage of transients, but improving their safety. Would any of the Clojure experts care to comment on whether this seems like a worthwhile exercise?
Having spent a ton of hours last week tuning an app to remove ephemeral garbage, I am glad that Clojure doesn't make any more than it does. That said, I want to move toward having separate debug builds (of Clojure itself, and of my own code), and this kind of thing might be a good candidate for the debug build.
The next task for enabling debug builds is for someone with ant and maven fu to light the path for propagating the clojure.debug property [1] through the various builds and generated artifacts. Volunteers wanted. Feel free to contact me directly to discuss approach.
Stu [1] http://www.assembla.com/spaces/clojure/tickets/250 -- 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