Yes, but these are implementation details - API is still functional and 
side-effects free.

On Monday, July 23, 2012 11:23:32 PM UTC+3, David Nolen wrote:
>
> On Mon, Jul 23, 2012 at 2:58 PM, Alexander Semenov wrote: 
> > 
> > (do (time (doall (to-list tree))) :done) 
> > "Elapsed time: 19716.222 msecs" 
> > 
> > Why is this so? Both results are kind of disappointing for me cause 
> Scala 
> > gives me ~270ms time using functional code and 5x faster using the 
> mutable 
> > one (on much slower machine). 
>
> The comparison doesn't really make sense as internally Scala's ::: 
> uses ListBuffer. 
>
>
> http://github.com/scala/scala/blob/v2.9.2/src/library/scala/collection/immutable/List.scala#L107
>  
>
> 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

Reply via email to