True lists in python?

Dmitry Groshev lambdadmitry at gmail.com
Sun Dec 19 01:41:57 EST 2010


On Dec 19, 9:18 am, Dmitry Groshev <lambdadmi... at gmail.com> wrote:
> Is there any way to use a true lists (with O(c) insertion/deletion and
> O(n) search) in python? For example, to make things like reversing
> part of the list with a constant time.

I forgot to mention that I mean *fast* lists. It's trivial to do
things like this with objects, but it will be sloooow.



More information about the Python-list mailing list