a question on python dict

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Sun Dec 31 02:21:09 EST 2006


In message <mailman.1896.1166685873.32031.python-list at python.org>, Tim
Peters wrote:

> You should also note that copying a dict key or value (no matter of
> what type) consists in its entirety of copying one machine address (a
> 4- or 8-byte pointer, depending on platform).

Actually, no. It also consists of updating reference counts as well.



More information about the Python-list mailing list