Daily Archives: June 17, 2006
List Processing and the Efficiency of CONS
One big difference between Lisp and most other programming languages is its use of recursion instead of iteration. So while I was working on some text-parsing code, I fell in to this simple pattern: (defun process (list) (if list (cons … Continue reading