daniel at stutzbachenterprises.com
Thu Nov 19 14:16:45 CET 2009
On Wed, Nov 18, 2009 at 9:00 PM, Rami Chowdhury <rami.chowdhury at 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>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list