dmitrey:
> As I have mentioned, I don't know final length of the list, but
> usually I know a good approximation, for example 400.

You may want to use collections.deque too, it doesn't produce a Python
list, but it's quite fast in appending (it's a linked list of small
arrays).

Bye,
bearophile
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to