Overview
| Artifact ID: | de5165d09ac4036ad2f5fda6af525f01899ea15c |
|---|---|
| Ticket: | 776614ffffffffffffffffffffffffffffffffff
Incremental evaluation of scripts |
| User & Date: | ysutjandra on 2003-07-24 00:25:07 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
Hi, Currently, when I source a file, TCL creates a buffer whose size is equivalent to the size of the file. Then evaluate the buffer altogether. I'm asking for a utility whereby I can specify the size of buffer I want Tcl_SourceObjCmd to work with. And as much as possible, TCL does not grow this buffer size, unless if needed. A possible example where growing the buffer size is needed is if you encounter a flow-control commands such as while, for, etc, or any other commands that require a open-curly-brace and close-curly-brace. This kind of feature will be very useful when most of the time you source a script that is really-really-really huge. A good testcase maybe a 100,000-line script where each line is doing the same thing. for { set i 0 } { $i < 10 } { incr i } { } for { set i 0 } { $i < 10 } { incr i } { } for { set i 0 } { $i < 10 } { incr i } { } ... -- Yohan - foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "ysutjandra"
- subsystem changed to: "45. Parsing and Eval"
- title changed to: "Incremental evaluation of scripts"
- type changed to: "RFE"