Message319799
I don't think this should be documented at all, not in the glossary, nor the stdtypes section. A quick search through of the glossary and stdtypes indicates that the glossary entry of list is the only place where a time complexity is documented.
The problem with documenting this is that the underlying complexity is an implementation detail, by saying its always O(1), alternative implementations like PyPy etc cannot freely implement lists in whatever way they wish. |
|
Date |
User |
Action |
Args |
2018-06-17 02:10:54 | ammar2 | set | recipients:
+ ammar2, docs@python, adelfino |
2018-06-17 02:10:54 | ammar2 | set | messageid: <1529201454.2.0.56676864532.issue33872@psf.upfronthosting.co.za> |
2018-06-17 02:10:54 | ammar2 | link | issue33872 messages |
2018-06-17 02:10:53 | ammar2 | create | |
|