Skip to content
Tcl Source Code Artifact [2b37b30b61]
Login

Artifact [2b37b30b61]

Artifact 2b37b30b61f5da3db5c141edfc796852dcf2aee6:

Ticket change [2b37b30b61] - New ticket [1352382fffffffff|1352382fff] <i>Patch: efficiency saving in Tcl_CreateNamespace</i>. by nobody on 2005-11-09 17:09:14.
D 2005-11-09T17:09:14
J assignee nobody
J cmimetype text/plain
J comment \nThe\scode\sbuilding\sthe\sfully\squalified\snamespace\sname\sin\s\nTcl_CreateNamespace\sunnecesarily\scopies\sbuffer1\sand\s\nbuffer2\sback\sand\sforth.\sBy\susing\sTcl_DString\spointers,\s\nyou\scan\sswap\spointers\sinstead\sof\scopying\sone\sbuffer\sto\s\nthe\sother.\sThis\ssaves\sa\scall\sto\sTclDStringSetLength\s&\s\none\sto\sTcl_DStringAppend.\sAlso\sthe\sstrlen(name)\scan\sbe\s\navoided\sas\swe\shave\sthe\sDString's\slength.\nPatch\salso\sincludes\ssome\sother\sminor\sefficiency\s\nchanges.\n\n(the\spatch\sis\sagainst\s8.5a3)
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem None
J title Patch:\sefficiency\ssaving\sin\sTcl_CreateNamespace
J type Patch
K 1352382fffffffffffffffffffffffffffffffff
U nobody
Z d3ee4989f75f128112e747813c3c8cc6