On Mar 4, 7:23 am, Stuart Sierra <[email protected]> wrote:
> On Mar 1, 5:33 pm, John Lawrence Aspden <[email protected]>
> wrote:
>
> > Is the reason the Clojure version is slow that recursive calls to draw-
> > tree are boxing and unboxing primitive types?
>
> Recursive calls, like all Clojure function calls, force boxing.  This
> may or may not have anything to do with the performance difference you
> are seeing.  True primitive support for function arguments is planned
> for a future release.
>
> -SS

Note also that loop/recur will preserve primitives.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to