This stackoverflow page seems to have some info that might help:
http://stackoverflow.com/questions/3008411/clojure-seq-cons-vs-list-conj

Source for Cons:
https://github.com/hiredman/clojure/blob/master/src/jvm/clojure/lang/Cons.java
Source for PersistentList:
https://github.com/hiredman/clojure/blob/master/src/jvm/clojure/lang/PersistentList.java

>From looking at the source it looks like one major difference between Cons
and PersistentList is that Cons can have anything that implements ISeq for
_rest while PersistentList must have another PersistentList.

On Fri, Jun 24, 2011 at 7:35 PM, Tim Robinson <tim.blacks...@gmail.com>wrote:

> I'm under the impression that traditional lisps have a greater
> distinction between a cons operation vs. a list operation.
> Specifically I had believed that consing was a more efficient and
> better performing operation than using list.
>
> Is this true? and if so, given both the Cons and Lists are actually
> both just seqs in Clojure, does the above statement still hold true in
> the Clojure world?
>
> Thanks
> Tim
>
> --
> 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