.
D 2003-07-24T00:25:07
J assignee msofer
J cmimetype text/plain
J comment Hi,\n\nCurrently,\swhen\sI\ssource\sa\sfile,\sTCL\screates\sa\sbuffer\s\nwhose\ssize\sis\sequivalent\sto\sthe\ssize\sof\sthe\sfile.\s\sThen\s\nevaluate\sthe\sbuffer\saltogether.\n\nI'm\sasking\sfor\sa\sutility\swhereby\sI\scan\sspecify\sthe\ssize\sof\s\nbuffer\sI\swant\sTcl_SourceObjCmd\sto\swork\swith.\s\sAnd\sas\s\nmuch\sas\spossible,\sTCL\sdoes\snot\sgrow\sthis\sbuffer\ssize,\s\nunless\sif\sneeded.\s\s\n\nA\spossible\sexample\swhere\sgrowing\sthe\sbuffer\ssize\sis\s\nneeded\sis\sif\syou\sencounter\sa\sflow-control\scommands\s\nsuch\sas\swhile,\sfor,\setc,\sor\sany\sother\scommands\sthat\s\nrequire\sa\sopen-curly-brace\sand\sclose-curly-brace.\n\nThis\skind\sof\sfeature\swill\sbe\svery\suseful\swhen\smost\sof\sthe\s\ntime\syou\ssource\sa\sscript\sthat\sis\sreally-really-really\shuge.\n\nA\sgood\stestcase\smaybe\sa\s100,000-line\sscript\swhere\s\neach\sline\sis\sdoing\sthe\ssame\sthing.\n\n\s\s\sfor\s{\sset\si\s0\s}\s{\s$i\s<\s10\s}\s{\sincr\si\s}\s{\s}\n\s\s\sfor\s{\sset\si\s0\s}\s{\s$i\s<\s10\s}\s{\sincr\si\s}\s{\s}\n\s\s\sfor\s{\sset\si\s0\s}\s{\s$i\s<\s10\s}\s{\sincr\si\s}\s{\s}\n\s\s\s...\n\n--\sYohan
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter ysutjandra
J subsystem 45.\sParsing\sand\sEval
J title Incremental\sevaluation\sof\sscripts
J type RFE
K 776614ffffffffffffffffffffffffffffffffff
U ysutjandra
Z 27d02b03c8d8036b63f61308fa0b8b21