lists and sequences

Collin Monahan cmonahan at yahoo.com
Tue Jun 11 18:10:37 EDT 2002


What is a python list? Is it a linked list or a random access structure
in contiguous memory? What type of situations should be avoided when
using it? E.g. when does n^2 time happen using it? What sorting
algorithm is used by its sort member function?

Are the answers to these questions the same for Jython? If there is a
good situation to use a Java collection from Jython because of above
considerations, how bad are the constant factors which arise from doing
so? That is, how preferable is it to stick with the python-language
structures when using Jython?

I'm not on the list so please copy me.

Thank you
Collin Monahan

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com





More information about the Python-list mailing list