.
D 2016-08-20T15:53:25.323
J icomment Adjusting\sthe\svariable\sresolver's\srules\son\sa\sclass\sfrom\swithin\sa\srunning\s<s>method</s>\sconstructor?\sYuck.\sThere's\sliterally\sno\sway\sto\smake\sthat\snice\sand\sreliable\swithout\sslowing\sordinary\scode\sdown.\sThe\score\sissue\sis\sthat\scompiled\svariables\sare\sresolved\searlier,\sduring\sthe\screation\sof\sthe\sstack\sframe\s(with\ssome\smagic\scaching\sto\sspeed\sit\sup),\sbut\swhen\sthere's\sa\sdirect\slookup\sby\sname\sthat's\sdone\sthrough\sthe\sresolver\sanyway.\sSince\sthe\sresolver\sis\s<i>by\sdesign</i>\sexpensive\sand\sreliant\son\scompilation\sfor\sspeed,\sthere's\sno\sway\swe\swant\sto\sbring\sit\sin\son\severy\svariable\saccess.\sThere's\sa\sminor\sissue\sthat\swe\scould\sfix\sthings\sby\sdoing\sa\sbytecode\sflush\swhen\sthe\sresolver\sis\schanged...\sbut\sit\sis\ssuch\sa\snasty\sedge\scase.\sThere's\sreally\sno\sgood\sreason\sto\sdo\sthis\sthat\sI\scan\sthink\sof\sand\sthere\sare\strivial\sworkarounds\s(e.g.,\smixing\sin\sa\sclass\swould\swork\sbetter).\r\n\r\nI\sreally\sdon't\sthink\swe'll\sever\sfix\sthis.\sThere's\sliterally\sno\sgood\sway\sto\sdo\sit.
J login dkf
J mimetype text/x-fossil-wiki
J resolution Wont\sFix
J username dkf
K 4af2f209f29c3d12e7302780135cbcb907234acb
U dkf
Z c3561a1427f49110ff84d7d0eed85518