On Aug 3, 5:52 pm, luke <luke.vanderh...@gmail.com> wrote:
> Interesting.
>
> So I take it that these are (or should be) entirely a speed
> optimization? i.e, most the time, you'd want to write your code using
> the normal persistent data structures, and only go back and implement
> this within specific functions if they're a bottleneck? Sounds great.
>

Yes, that's the idea.

> And for a somewhat crazy thought.. it seems like using them would be
> as easy as adding an exclamation point to all the modification
> functions. So you could easily wrap an entirely functional code block
> in a transform-to-transient macro that translates the functions to
> their transient counterparts, and gain all the performance benefits?
>

That might be possible, I guess it depends on the structure of the
code. The interfaces for transient creation/persistent return are all
generic at least.

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to