On 23/10/12 19:38, Brian Craft wrote:
it's always faster to do it up-front.

it will always always be faster do it upfront...no way around that!

Clojure offers both worlds...be lazy when designing APIs or dealing with big-data that don't fit to memory and be greedy when you want petal to the metal perf. Most of the precious fns in core now have a reducer brother. No assumptions or promises about the underlying collection are made with reducers...just poor the reducer into a vector and you're golden... :-)

hope that helps...

Jim

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