Skip to content
Tcl Source Code Artifact [b73be1de71]
Login

Artifact [b73be1de71]

Artifact b73be1de715174a55c9ede89cd0cb32f9bb4e4e1:

Ticket change [b73be1de71] - New ticket [1064243fffffffff|1064243fff] <i>use memmove() in Tcl_ListObjReplace()</i>. by das on 2004-11-11 01:11:58.
D 2004-11-11T01:11:58
J assignee hobbs
J cmimetype text/plain
J comment Tcl_ListObjReplace()\sshould\suse\smemmove()\sinstead\nof\sa\smanual\scopy\sloop\sto\sshift\slist\selements\sin\smemory.\nThe\sattached\spatch\sdecreases\stime\sspent\sinTcl_ListObjReplace()\s\nfrom\s5.2%\sto\s1.7%\sof\soverall\sruntime\sof\ntclbench\son\sa\sppc\s7455\s(i.e.\s200%\sspeed\sincrease).\n\nalso\scontained\sin\sthe\spatch\sa\ssmall\sperformance\stweak\sto\stclHash.c:\s\nthis\shoists\sa\sfew\sconstant\spointer\sdereferences\sout\nof\sloops\sto\seliminate\sredundant\sloads\sthat\sthe\sgcc\soptimizer\sdidn't\ndeal\swith.\sDecreases\stime\sspend\sin\sTcl_FindHashEntry()\sby\s10%\s\nover\sa\sfull\srun\sof\sthe\stcl\stestuite\son\sa\sppc\s7455.\n\n
J foundin None
J priority 8
J resolution None
J status Open
J submitter das
J subsystem 14.\sList\sObject
J title use\smemmove()\sin\sTcl_ListObjReplace()
J type Patch
K 1064243fffffffffffffffffffffffffffffffff
U das
Z 3509e817d868782ae0e64325b30696e9