summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authordas <das>2004-11-11 01:18:07 (GMT)
committerdas <das>2004-11-11 01:18:07 (GMT)
commita0d4eac5974045d55b361a5e2ff674fffac3eb54 (patch)
treeb7ff7195c99b973bfa4111030d0ac0a9404feb6f /tools
parent855a4dd4649f658cd37ce56e3f87cce584fbde47 (diff)
downloadtcl-a0d4eac5974045d55b361a5e2ff674fffac3eb54.zip
tcl-a0d4eac5974045d55b361a5e2ff674fffac3eb54.tar.gz
tcl-a0d4eac5974045d55b361a5e2ff674fffac3eb54.tar.bz2
* 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]
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions