Thanks for the interesting point about possible parallel implementation of 
search method. 

I think I will stay with atom implementation, because in this particular 
case I don't need to squeeze out maximum performance from this function.

But I wonder, what if in some similar case the performance will be very 
critical - then the only choice will be to implement Collector in Java using 
one of the Java's mutable collection and then convert it into Clojure's 
persistent collection? Because I really don't want to produce unnecessary 
objects on the heap while collecting all results. 

Thanks.

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