To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com<mailto:clojure+unsu...@googlegroups.com>.
And the performance boost is just to avoid the list creation in the
variadic argument?
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@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+u...@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+u...@googlegroups.com.
For grins I slapped
together this benchmark,
which tries to compare calls with callsite static arity to
application both for fully unrolled and partially unrolled
functions. The results I see indicate that in both cases the
cost of apply
is almost
equal for all arities. For invocations/call sites with
statically known arities, there seems to be a factor of ~5x
speedup compared to function application. The fully unrolled
function seems to do ~2x better than the “base” function for all
call site arities. This suggests that apply
is
immensely expensive in general, and that such arity unrolling
even for trivial functions would be a good thing. Albeit hard to
build.
Reid
### 1.4 update - like update-in for first level`update` is a new function that is like update-in specifically for first-level keys:(update m k f args...)Example use:user> (update {:a 1} :a inc){:a 2}user> (update {:a 1} :a + 2){:a 3}user> (update {} :a identity) ;; missing returns nil{:a nil}* [CLJ-1251](http://dev.clojure.org/jira/browse/CLJ-1251)
October 28, 2014 at 8:34 AM
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@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+u...@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+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
October 26, 2014 at 9:42 PM
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@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+u...@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+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google