Overview
| Artifact ID: | 93f2549889e26934f1190fc66104835905b5f864 |
|---|---|
| Ticket: | 966053ffffffffffffffffffffffffffffffffff
stop repeated findExecutable searches |
| User & Date: | dgp on 2004-06-03 19:47:41 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed to:
Patch includes two improvements. 1) In TclpFindExecutable() note that successful searches have been saved and returned forever. Only one search permitted. On the other hand, failed searches have been invited to come back and spend time and effort failing over and over again. The changes to tclUnixFile.c make it so that a failure result is also saved and returned forever without the expense of repeating the search operations. 2) In tclEncoding.c, I've renamed TclFindEncodings to FindEncodings to match its status as a file static routine. That makes it clearer that the only caller is Tcl_FindExecutable, and that caller has already called TclpFindExecutable, so there's no need for FindEncodings to do it again. (The source of some of the repetition addressed in 1) ). Without the need to call TpFE, FindEncodings also needed no argument, so it was removed.
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "10. Objects"
- title changed to: "stop repeated findExecutable searches"
- type changed to: "Patch"