Linked lists (was Re: Typing system vs. Java
vvainio at karhu.tp.spt.fi
Wed Aug 8 07:26:52 CEST 2001
xtian at hyperactive.co.nz writes:
> That's pretty spectacularly neat.
Yes, it is. Gems like that should end up in the tutorial to "whet the
appetite". Now all we need is an iterator for the list, no batter how
tainted and impure that might be... ;-)
How does this kind of list improve performance of lisp-ish recursive
functions, as opposed to cdr = list[1:]? I guess there was a benchmark
a while ago (some kind of "language shootout") that did use list[1:]
and made Python look bad.
Ville Vainio - http://www.tp.spt.fi/~vvainio - ICQ #115524762
Wild geese have no intention to cast a reflection
Water has no mind to assume their form
More information about the Python-list