On Dec 18, 3:07 am, Brendan Miller <catph...@catphive.net> wrote:

> Well, it doesn't really need to be any slower than a normal list. You
> only need to use index and do extra additions because it's in python.
> However, if listagent were written in C, you would just have a pointer
> into the contents of the original list, and the length, which is all
> that list itself has.

You're right, I was thinking in Python instead of C. So the
translations in that case is really straight forward, using just
pointer arithmetic.

----aht
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to