alf said:
Would it be .append()? Does it reallocate te list with each apend?
No append does NOT reallocate for every call. Whenever a reallocation
happens, the newsize is proportional to the older size. So you should
essentially get amortized constant time for every append call.
If you want to add a bunch of items in one call.. you should use the
'extend' method.
Regards
Sreeram
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iD8DBQFEhQlLrgn0plK5qqURApHbAKC1A2xYXdgyj9+4a4Nkg79+rMdfrwCgi4xP
4VMZi08TTCKblHBxMssZEYA=
=DdkB
-----END PGP SIGNATURE-----