Re:Programming Without Variables
by dborg on Friday September 13, 2013 @08:41AM
(#6380038)
Actually you'd want to save it as (1 . (2 . (4 . (8 . NIL)))) since o/w you'd still get quadratic time complexity as you need to unpack your whole list when you add the next value.
[ Parent
| on HN ]
True! I forgot that you only keep a pointer to the start.