On Wed, Nov 18, 2009 at 9:00 PM, Rami Chowdhury <rami.chowdh...@gmail.com>wrote:

> I'm not sure you're understanding the point others have been making. A
> list item is merely another reference to an existing object -- it
> doesn't copy the object in any way.
>

It still has to copy the reference, though.  That takes O(n) time if you're
taking a big slice.

--
Daniel Stutzbach, Ph.D.
President, Stutzbach Enterprises, LLC <http://stutzbachenterprises.com>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to