<i>Performance gap between [global] and [::]</i> status still Open with 4 other changes
by
.
D 2011-05-25T05:36:27
J icomment This\sCAN\sbe\ssolved\seasily\senough:\swhen\sthe\scompiler\sdetects\sa\sFQN,\sit\scan\screate\sa\ssame-named\s(with\squalifiers!)\svariable\sin\sthe\sLVT\sthat\sis\sauto-upvared\sto\sthe\sglobal\son\sproc\sentry.\sThe\sbody\sthen\salways\srefers\sto\sthe\sone\sin\sthe\sLVT.\n\nThe\ssame\sthing\scould\sactually\sbe\sdone\sfor\s[eval]\sand\s[uplevel]\sbodies,\seven\sfor\snon\squalified\snames.\sBut\sin\sthat\scase\sit\sprobably\srequires\sother\schanges\selsewhere:\sthe\swhole\score\sassumes\sthat\sonly\sproc\s(and\slambda,\sand\soo)\sbodies\shave\san\sLVT,\sthis\sassumption\scould\sbe\shidden\ssomewhere\sunexpected.\n\nAnother\ssolution\swould\sbe\sto\scode\sa\sfast-path\sfor\sFQN\svariables\sin\sTEBC,\sreading\sthe\sTcl_Obj\sintrep.\sCurrently\sonly\sLVT\svariables\shave\sa\sfast\sinlined\spath,\sthe\sothers\scall\sthe\sfunctions\sin\stclVar.c\n
J login msofer
J mimetype text/plain
J username msofer
K 3302370fffffffffffffffffffffffffffffffff
U msofer
Z 02a20317cbec02e445b20179047b6908