On Wednesday, January 28, 2015 at 2:07:07 PM UTC-6, Fluid Dynamics wrote: > > On Wednesday, January 28, 2015 at 1:59:49 PM UTC-5, Marshall > Bockrath-Vandegrift wrote: >> >> At the very least, all the places where you switched to method/property >> syntax now require runtime reflection. Try leaving those as they were, or >> switching to using the keyword as the function (which is somewhat more >> idiomatic). You could instead hint the appropriate object type in each >> function, but part of the benefit of records is that most code should be >> agnostic as to whether it has a plain map or a record. >> > > Another thing that changed is that units went from returning a vector to > returning a lazy seq, which makes random access go from constant to linear > time. That could be affecting things too. >
You could avoid this part of the change by using mapv instead of map. -- 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.