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

List-based or cudder-based?

Name: Anonymous 2007-09-25 17:45 ID:7mr7rOFy

What do you prefer? In particular, what are the advantages of cudder (cons) based lists over dynamic lists as seen in languages such as Python?

Name: Anonymous 2007-09-25 17:53 ID:h3/K7TKC

Accessing the n-th element of a list in Python costs O(1) time, whereas accessing the n-th element of a cons based list costs O(n) time.

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