Skip to content
Tcl Source Code Artifact [2891dc2baa]
Login

Artifact [2891dc2baa]

Artifact 2891dc2baa7cc42c3d816ec587978946f90283ab:

Ticket change [2891dc2baa] - Closed ticket [1881766fffffffff|1881766fff]: <i>Mutability</i> plus 6 other changes by ferrieux on 2008-03-08 23:50:24.
D 2008-03-08T23:50:24
J closedate 2008-03-08T16:50:24
J closer ferrieux
J icomment Logged\sIn:\sYES\s\nuser_id=496139\nOriginator:\sYES\n\nMiguel\sfound\sa\sconceptual\sshow\sstopper:\siterators.\n\nIndeed,\sthe\scaller\sand\sthe\scallee\sof\sa\smutability-unaware\siterator\s(like\s[foreach],\swhich\scould\sbe\smade\smutability-aware,\sbut\sextensions\sare\sallowed\sto\sdeclare\sother\ssimilar\sunaware\sfunctions)\scan\scooperate\sto\srender\sinvalid\spointers\skept\slocally\sin\sthe\siterator's\simplementation\s(like\sa\spointer\sinto\sa\smutable\slist's\selements\sarray).\n\nThe\sbottom\sline\sis\sthat\s"cheating"\swith\sTcl_IsShared\sis\sfundamentally\sproblematic.\sHence\sthe\sonly\ssound\sway\sof\spromoting\sin-place\soperations\sis\sto\smake\sit\srelatively\seasy\sto\srender\sobjects\struly\sunshared,\sthrough\sidioms\slike\supvarring\sa\sglobal,\s*and*\sto\simplement\soptimized\sin-place\smodes\swherever\sit\sis\suseful,\slike\sin\s[lrange]\s(see\spatch\s1890831).\n\nConsequently,\sI\sclose\sthis\stracker\sentry.\n
J login ferrieux
J mimetype text/plain
J status Closed
J username ferrieux
K 1881766fffffffffffffffffffffffffffffffff
U ferrieux
Z 4ae8a56a00da552ec34d96b5afb78d32