On Thu, Dec 15, 2011 at 9:47 PM, Cedric Greevey <cgree...@gmail.com> wrote:
> ... Nobody wants map-longs. We have lovely abstractions like map / filter / reduce, we have primitive fns, we have collections which can hold primitives, we have type hints. What I'd like to see is that by adding one single annotation to this (reduce + foo) like so: (reduce + ^long-vector foo) triggers the compiler to eliminate all unnecessary allocations and work only on unboxed data. Another approach might be some of Rich Hickey's ideas of about primitive fns that understand chunks. Do your ideas get us any closer to writing idiomatic Clojure yet getting close to the performance of primitive operations on collections of unboxed data? David -- 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