Skip to content
Tcl Source Code Artifact [cc898ddfe5]
Login

Artifact [cc898ddfe5]

Artifact cc898ddfe57c9d4ac23d6dc2a987e5f2487eb77f:

Ticket change [cc898ddfe5] - Ticket [931e4956b91b4545|931e4956b9] <i>Interpreter command count not always incremented</i> status still Open with 3 other changes by apnadkarni on 2017-01-12 17:43:00.
D 2017-01-12T17:43:00.255
J icomment Speculation\sby\sdgp\son\sthe\schat:\r\n\r\n[23:59]\tapn\tthe\s[incr\si]\swithin\sthe\sslave\sinterpreter\sshould\sincrement\scmdCount\sfor\sthat\sslave,\sno?\r\n[23:59]\tdgp\tOne\sincrement\shappens\sin\sthe\s"Dispatch"\sof\sany\sobjCmdProc.\r\n[23:59]\tdgp\tThat\scaptures\sall\sthe\s"direct\seval"\sof\sany\scommand.\r\n[00:00]\tapn\tThat's\sin\stclBasic.c\r\n[00:00]\tdgp\tThe\sother\sincrement\sis\sin\sbytecode\sexecution.\r\n[00:00]\tdgp\tand\shas\sbeen\s#ifdef'ed\sto\swithin\san\sinch\sof\sits\slife.\r\n[00:01]\tdgp\tand\speepholed\setc\setc.\r\n[00:01]\tdgp\tQuick,\slikely\sfaulty\sanalysis.....\r\n[00:01]\tdgp\tBytecode\sexecution\shas\sgiven\scommand\scounting\stask\sto\sINST_START_CMD\r\n[00:02]\tdgp\tOver\stime\sINST_START_CMD\swas\sperceived\sas\stoo\smuch\sperformance\sdrag\sfor\stoo\slittle\svalue,\sso\sit's\sbeen\ssuppressed\sin\smany\ssituations.\r\n[00:03]\tdgp\tSo\sdon't\sexpect\sbytecode\sto\sget\scorrect\sanswers.\r\n[00:03]\tdgp\tIf\snot\sfor\sthe\s[interp\slimit],\sI'd\ssay\sjust\signore\sit.\r\n[00:04]\tdgp\ttake\sa\slook\sat\sthe\sbytecode\sdisassembly\sfor\smore\sexplorations.\r\n[00:04]\tapn\thmm,\salso\sturns\sout\sthat\s[ip\seval\s{set\sx\s1;\sset\sx\s1;\sinfo\scmdcount}]\sdoes\sincrement\scmdCount\scorrectly\r\n[00:05]\tapn\tSo\sit's\salmost\slike\sfor\sa\ssingle\scommand,\sINST_START_CMD\sgets\sskipped.\sOr\ssomething\slike\sthat\r\n[00:05]\tdgp\t"optimized"
J login apnadkarni
J mimetype text/plain
K 931e4956b91b4545bb294a76faf82d13e11e74db
U apnadkarni
Z 9b9d45158fec2c12063c88fdf4e13c76