> As a second point, I don't like the introduction of assoc!, conj!, > etc. It just strikes me as another bug to have (oh, right, I need > assoc! not assoc...). At least you will get a very clear error, I think it's possible to get a compile time error if you are dealing with a local. It will be runtime if you pass a parameter, but you should not, right ? :)
I would advocate a VERY STRONG WARNING about these structures, otherwise people will litter their code ... Maybe a compiler warning when a local transient is returned from a function (with some way to locally suppress it?) Kudos for making them single threaded! Boris > > With all this being said, I'm looking forward to your final version. > Your speedup is impressive, and I know parts of my code (lists of hash > maps) that could use it. You've done some pretty bad ass stuff with > Clojure so far, and I think there is a chance that you could pull this > off beautifully. > > Good luck. > > On Aug 3, 5:25 pm, Rich Hickey <richhic...@gmail.com> wrote: >> I've been doing some work on Transient Data Structures. You can read >> about them here: >> >> http://clojure.org/transients >> >> Feedback welcome, >> >> Rich > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---