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