<i>long expressions and Tcl_Tokens</i> status still Open with 5 other changes
by
.
D 2006-09-01T10:20:02
J icomment Logged\sIn:\sYES\s\nuser_id=80530\n\n\nThis\sis\smuch\sless\simportant\nthan\sI\sbelieved\swhen\sI\sposted\sit.\nI\swas\smisinterpreting\sthe\ntiming\sresults\sof\n\ntime\s{testexprparser\s[string\srepeat\s+1\s$N]\s-1}\n\nwhich\swas\sgetting\sreally\sbadly\sbogged\ndown\sfor\snot-too-outrageously-big\svalues\nof\s$N,\slike\s10000.\n\nTurns\sout\sthat\s[testexprparser]\sproduces\na\slist\sas\sits\soutput\sthe\sstring\srep\sof\nwhich\shas\slength\sO(N^2),\sso\sI\swas\nmeasuring\sthe\stest\sharness\sand\snot\sthe\nthing\sI\swanted\sto\stest.\n\nHappy\sending\sis\sthat\stesting\swith\n\ntime\s{expr\s[string\srepeat\s+1\s$N]}\n\nconfirms\sthat\sthe\srevised\sparser\ntruly\sis\sO(N).\s\sHooray.\n\nThe\smemory\sbloat\sof\sTcl_Tokens\sissue\nis\sreal,\sbut\sonly\sappears\sto\smatter\nfor\sgetting-pretty-outrageously-huge\nvalues\sof\s$N.\n\n
J login dgp
J mimetype text/plain
J priority 2
J username dgp
K 1517602fffffffffffffffffffffffffffffffff
U dgp
Z 86a6c6fdaf565d46488121b66ee68277