[issue26077] Make slicing of immutable structures return a view instead of a copy
Serhiy Storchaka
report at bugs.python.org
Sat Jan 16 04:48:53 EST 2016
Serhiy Storchaka added the comment:
The support of sharing a content between different tuples requires changing the structure of the tuple object, allocating additional block for every tuple, adding a level of indirection and reference counting. This will increase memory consumption, creating and access time for all tuples. All this is critically important for Python interpreter. I think this idea has no a chance.
----------
nosy: +serhiy.storchaka
resolution: -> rejected
stage: needs patch -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26077>
_______________________________________
More information about the Python-bugs-list
mailing list