Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Cons cell

Name: Anonymous 2010-09-12 12:05

Is it the ultimate data container? There's not much it can't do. What could possibly beat it?

Name: Anonymous 2010-09-12 16:17

>>2
Generational stop-and-copy garbage collection could achieve something like a random access list. If, after copying, elements are contiguous, then one could use pointer offsets to access the nth element. You couldn't instantiate a random access list but in the background a list could turn into a vector if it was never mutated. If it was around for a while an old list would turn into a vector.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List