You can substitute (iterate inc 0) for (range) to get an unchunked version
of (range), BTW.


On Wed, May 1, 2013 at 2:56 PM, Marshall Bockrath-Vandegrift <
llas...@gmail.com> wrote:

> kuba roth <kuba.r...@gmail.com> writes:
>
> > I've got more examples for OSX which clearly shows that as soon as the
> > number of tasks exceeds number of cores pmap performance suffers. It
> > seems to me like there is no blocking taking place on threads and all
> > the tasks are started at the same time.
>
> There’s a still-open bug with `pmap` and chunked seqs which sounds like
> it may what you’re seeing:
>
>     http://dev.clojure.org/jira/browse/CLJ-862
>
> You can get `pmap` to work mostly-reasonably by unchunking input seqs
> first, although I’ve found it doesn’t work well for many problems anyway
> (no control over level of parallelism, FIFO ordering, etc).
>
> -Marshall
>
> --
> --
> 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/groups/opt_out.
>
>
>

-- 
-- 
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/groups/opt_out.


Reply via email to