Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In computer
science CDR coding is a compressed data representation for Lisp linked
lists. It was developed and patented by the MIT Artificial Intelligence
Laboratory, and implemented in computer hardware in a number of Lisp
machines derived from the MIT CADR. CDR coding is in fact a fairly
general idea; whenever a data object A ends in a reference to another
data structure B, we can instead place the structure B itself there,
overlapping and running off the end of A. By doing this we free the
space required by the reference, which can add up if done many times,
and also improve locality of reference, enhancing performance on modern
machines. The transformation is especially effective for the cons-based
lists it was created for; we free about half of the space for each node
we perform this transformation on.