This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Filip Haglund
Recipients Filip Haglund
Date 2016-01-10.20:45:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1452458756.3.0.749991798075.issue26077@psf.upfronthosting.co.za>
In-reply-to
Content
Slicing tuples returns a copy, which is O(n) time. This could be O(1) since tuples are immutable, by just pointing to the same data.

This probably applies to other immutable structures as well, such as strings.
History
Date User Action Args
2016-01-10 20:45:56Filip Haglundsetrecipients: + Filip Haglund
2016-01-10 20:45:56Filip Haglundsetmessageid: <1452458756.3.0.749991798075.issue26077@psf.upfronthosting.co.za>
2016-01-10 20:45:56Filip Haglundlinkissue26077 messages
2016-01-10 20:45:55Filip Haglundcreate