Manifest of check-in
[30ac98366b]
- * 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:17:50.
B 4b682e3ec1d073e358dd04ee594d76e4eb5f232e
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:17:50
F generic/tclHash.c d5a61217690d64ee02675820eb209211f180a3ca
F generic/tclListObj.c 253ffabe5a86d171b0a941e0b734840c0dff08b0
P 4b682e3ec1d073e358dd04ee594d76e4eb5f232e
U das
Z ea44d8f294ade52cddaed86a36eb0a9c