<i>segfault in Tcl_EvalObjv (from Tcl_EvalObjEx call)</i> status still Open with 4 other changes
by
.
D 2005-02-11T23:40:43
J icomment Logged\sIn:\sYES\s\nuser_id=148712\n\nThis\sis\sthe\s"pure\slist\soptimisation":\sif\sa\sscript\sis\sa\s"pure\nlist"\s(list\sinternal\srep\sand\sno\sstring\srep\s=>\sguaranteed\sto\nparse\sto\sthe\ssame\slist\srep),\sby\sexecuting\sit\sdirectly\syou\savoid:\n\s1.\sbuilding\sa\sstring\srep\sof\sthe\sscript\n\s2.\sparsing\sthe\sscript\sinto\sa\ssequence\sof\scommands\s(there's\nonly\sone!)\n\s3.\sparsing\seach\scommand\sinto\swords\s(we\shad\sthem\salready);\nnote\sthat\seach\sword\swould\sthen\sbe\sa\sfresh\sTcl_Obj\s-\sie,\sno\ninternal\srep.\nThe\spure\slist\sopt\savoids\sthese\ssteps,\sand\scan\salso\sprofit\nfrom\sreusing\scached\sinternal\sreps.\n\n%\sproc\sfoo\sx\s{set\sx}\n%\sset\sscr\s[list\sfoo\s1];\s\stime\s{eval\s$scr}\s100000\n9\smicroseconds\sper\siteration\n%\sstring\slength\s$scr;\stime\s{eval\s$scr}\s100000\n17\smicroseconds\sper\siteration\n\n\n
J login msofer
J mimetype text/plain
J username msofer
K 1119369fffffffffffffffffffffffffffffffff
U msofer
Z b3313537c3f157852cf8c238e5a31378