Discussion about this post

User's avatar
Paul McJones's avatar

You say: "SPUR also used these tags together with a small number of special LISP instructions to speed up the fundamental LISP list operations like car and cdr (car takes the first item of a list and cdr creates a new list with all except the first item):...". Note that cdr doesn't actually create (allocate) anything; it just returns the contents of the "cdr" ("next") field in the cons cell that is its argument. So at the implementation level, car and cdr are almost identical.

2 more comments...

No posts

Ready for more?