[Python-il] The Tuples and Lists question
Rani Hod
rani.hod at gmail.com
Wed Jun 11 17:00:01 IDT 2008
Oops, indeed.
On Wed, Jun 11, 2008 at 16:53, Omer Zak w1-at-zak.co.il |Python-IL| <
p5hejz1lzm0t at sneakemail.com> wrote:
> Hello Rani,
> You replied to me personally. Did you mean to post your answer to
> Python-IL?
>
> --- Omer
>
> On Wed, 2008-06-11 at 16:00 +0300, Rani Hod wrote:
> > Why do other languages have arrays and linked lists as different types
> > of sequences?
> > "The only difference" is that linked lists are easy to modify and
> > arrays admit random access to elements.
> > These are two distinct data structures with different operation
> > complexity.
> >
> > In a deeper sense, hashing cannot be well-defined for mutable types,
> > so the two requirements you mentioned are actually mutual exclusive.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://hamakor.org.il/pipermail/python-il/attachments/20080611/ee8af60d/attachment.htm
More information about the Python-il
mailing list