Overview
| Artifact ID: | 2b37b30b61f5da3db5c141edfc796852dcf2aee6 |
|---|---|
| Ticket: | 1352382fffffffffffffffffffffffffffffffff
Patch: efficiency saving in Tcl_CreateNamespace |
| User & Date: | nobody on 2005-11-09 17:09:14 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
The code building the fully qualified namespace name in Tcl_CreateNamespace unnecesarily copies buffer1 and buffer2 back and forth. By using Tcl_DString pointers, you can swap pointers instead of copying one buffer to the other. This saves a call to TclDStringSetLength & one to Tcl_DStringAppend. Also the strlen(name) can be avoided as we have the DString's length. Patch also includes some other minor efficiency changes. (the patch is against 8.5a3)
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "None"
- title changed to: "Patch: efficiency saving in Tcl_CreateNamespace"
- type changed to: "Patch"