<i>unset traces on local vars write in caller context</i> status still Open with 4 other changes
by
.
D 2016-10-09T16:35:59.629
J icomment I'd\slike\sto\stotally\sremove\straces\son\slocal\svariables\sfrom\snovem.\sThe\ssemantics\sare\sreally\sexpensive\sto\simplement\sand\sdeeply\sconfusing.\sHowever,\sI'd\sneed\sto\sreplace\swith\san\sability\sto\sget\scallbacks\swhen\sa\sframe\sterminates\s(that\s<b>is</b>\suseful)\sand\shaving\sthe\sability\sto\sdesignate\svariables\sas\sbeing\sunable\sto\schange\safter\sthe\sinitial\ssetup\sis\sentirely\sreasonable\stoo.\r\n\r\nFWIW,\s<i>tclquadcode</i>\sis\snever\sgoing\sto\sbe\sexactly\sreproducing\sof\sthe\strace-level\sview.\sThe\smost\swe're\slikely\sto\spromise\sis\sthat\sif\sa\sglobal\svariable\swould\shave\sbeen\sread\sfrom\sor\swritten\sto\sat\sleast\sonce\son\ssome\spath\sbetween\stwo\ssuspension\spoints\s(e.g.,\sentries\sand\scalls\sto\s<tt>return</tt>\sor\s<tt>yield</tt>),\sa\strace\swill\sbe\sfired.\sThat's\sreally\squite\sdifferent\sto\sgetting\sthe\ssemantics\sright,\sand\sgives\sus\sa\slot\smore\sfreedom\sto\soptimise.
J login dkf
J mimetype text/x-fossil-wiki
J username dkf
K 7f02ff1efa308825b21e58ec04cee898fe9c44ad
U dkf
Z 7d106e5181b54ffbfcea56130a1715e9