Skip to content
Tcl Source Code Artifact [7512e64d88]
Login

Artifact [7512e64d88]

Artifact 7512e64d88600bce9e76a17e9cf2ffd2ab7e7059:

Manifest of check-in [7512e64d88] - * generic/tclListObj.c (Tcl_ListObjReplace): use memmove() instead of manual copy loop to shift list elements. Decreases time spent in Tcl_ListObjReplace() from 5.2% to 1.7% of overall runtime of tclbench on a ppc 7455 (i.e. 200% speed increase). [Patch 1064243] * generic/tclHash.c: hoisted some constant pointer dereferences out of loops to eliminate redundant loads that the gcc optimizer didn't deal with. Decreases time spend in Tcl_FindHashEntry() by 10% over a full run of the tcl testuite on a ppc 7455. [Patch 1064243] by das on 2004-11-11 01:18:07.
B c980caa33cfd9ecbf26b0810e62da82756cc38ad
C \t*\sgeneric/tclListObj.c\s(Tcl_ListObjReplace):\suse\smemmove()\sinstead\n\tof\smanual\scopy\sloop\sto\sshift\slist\selements.\sDecreases\stime\sspent\sin\n\tTcl_ListObjReplace()\sfrom\s5.2%\sto\s1.7%\sof\soverall\sruntime\sof\n\ttclbench\son\sa\sppc\s7455\s(i.e.\s200%\sspeed\sincrease).\s[Patch\s1064243]\n\n\t*\sgeneric/tclHash.c:\shoisted\ssome\sconstant\spointer\sdereferences\sout\n\tof\sloops\sto\seliminate\sredundant\sloads\sthat\sthe\sgcc\soptimizer\sdidn't\n\tdeal\swith.\sDecreases\stime\sspend\sin\sTcl_FindHashEntry()\sby\s10%\sover\sa\n\tfull\srun\sof\sthe\stcl\stestuite\son\sa\sppc\s7455.\s[Patch\s1064243]\n
D 2004-11-11T01:18:07
F generic/tclHash.c eedac713c989f2ffde8bd95fdeff619252f8f727
F generic/tclListObj.c 44d77bf5371421b394896a34cf012188fb3d3be7
P c980caa33cfd9ecbf26b0810e62da82756cc38ad
U das
Z 3b130ae09291e0041126eb0e47128d19