Indeed, that was my really bad example with 100.

On Saturday, April 27, 2013 4:19:07 PM UTC+3, Alan Busby wrote:
>
>
> On Sat, Apr 27, 2013 at 10:01 PM, Stanislav Yurin 
> <jus...@gmail.com<javascript:>
> > wrote:
>
>> By the way, fold function has [n combinef reducef coll] implementation, 
>> where n is number of elements collection is folded by. 512 is just the 
>> default.
>>
>
> Yep I misspoke there, but it is still one of the tricks to be aware of.
>
> Lots of people do; 
> (->> (range 100)
>        vec
>        (r/filter even?)
>        (r/fold +))
>
> And wonder why it's not running in parallel.
>

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