Message257937
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. |
|
Date |
User |
Action |
Args |
2016-01-10 20:45:56 | Filip Haglund | set | recipients:
+ Filip Haglund |
2016-01-10 20:45:56 | Filip Haglund | set | messageid: <1452458756.3.0.749991798075.issue26077@psf.upfronthosting.co.za> |
2016-01-10 20:45:56 | Filip Haglund | link | issue26077 messages |
2016-01-10 20:45:55 | Filip Haglund | create | |
|