There was this talk on this a while ago by Leon Barrett
https://m.youtube.com/watch?v=BzKjIk0vgzE
Also, I guess this from this years Clojure West might be useful, all though I 
haven't watched it yet:
https://m.youtube.com/watch?list=PLZdCLR02grLq4e8-1P2JNHBKUOLFTX3kb&v=fA9ZXy4N13s

Erik. 
-- 
i farta

> Den 17. apr. 2016 kl. 23.23 skrev JvJ <kfjwhee...@gmail.com>:
> 
> Orders of magnitude?  Is it even worth running things in parallel in this 
> case?
> 
>> On Sunday, 17 April 2016 07:20:30 UTC-7, tbc++ wrote:
>> The cost of creating that extra collection will be vastly overshadowed by 
>> the cost of running pmap. pmap involves the use of several locks, and thread 
>> co-ordination primitives, these will most likely be orders of magnitude more 
>> expensive than an extra allocation. 
>> 
>> Timothy
>> 
>>> On Sun, Apr 17, 2016 at 12:38 AM, JvJ <kfjwh...@gmail.com> wrote:
>>> Perhaps I should have rephrased.  I meant calling it in such a way that the 
>>> result is a hash map.
>>> 
>>> I know I could do something like:
>>> 
>>> (into a (pmap f a))
>>> 
>>> This will give the same result, but there's an extra collection in there 
>>> that I'm not sure is necessary.
>>> 
>>> 
>>>> On Saturday, 16 April 2016 20:15:51 UTC-7, Alex Miller wrote:
>>>> You can call pmap on hash maps!
>>> 
>>> -- 
>>> You received this message because you are subscribed to the Google
>>> Groups "Clojure" group.
>>> To post to this group, send email to clo...@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+u...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/clojure?hl=en
>>> --- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "Clojure" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to clojure+u...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>> 
>> 
>> 
>> -- 
>> “One of the main causes of the fall of the Roman Empire was that–lacking 
>> zero–they had no way to indicate successful termination of their C programs.”
>> (Robert Firth)
> 
> -- 
> 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
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to