My guess is that it's useful in the core functions which are more
heavily used. Otherwise you're getting into premature optimization if
you use it in any of your own functions without profiling it first.

On Tue, Oct 2, 2012 at 4:18 PM, Balint Erdi <balint.e...@gmail.com> wrote:
> Makes sense but why don't we have it in all possible places then?
>
> Thank you.
>
>
> On Tuesday, October 2, 2012 9:55:42 PM UTC+2, Herwig Hochleitner wrote:
>>
>> That is because dispatch on argument count is fast, while apply is slow.
>> Especially so since it might have to create an intermediate seq.
>> It's a performance optimization.
>>
>> kind regards
>
> --
> 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 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