summaryrefslogtreecommitdiffstats
path: root/tests/stringObj.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2009-02-17 06:52:05 (GMT)
committerdgp <dgp@users.sourceforge.net>2009-02-17 06:52:05 (GMT)
commit28f3aa0a8e86ea3ecd2e2699fa20fd08c6c22763 (patch)
tree8dd7fb6f7376bd56e7e06287edde8a430e34a016 /tests/stringObj.test
parent6c8a61b4c4ced636c66d653d11459edac7232d74 (diff)
downloadtcl-28f3aa0a8e86ea3ecd2e2699fa20fd08c6c22763.zip
tcl-28f3aa0a8e86ea3ecd2e2699fa20fd08c6c22763.tar.gz
tcl-28f3aa0a8e86ea3ecd2e2699fa20fd08c6c22763.tar.bz2
* generic/tclStringObj.c: Revise buffer growth implementation
in ExtendStringRepWithUnicode. Use cheap checks to determine that no reallocation is necessary without cost of computing the precise number of bytes needed. Also make use of the string growth algortihm in the case of repeated appends.
Diffstat (limited to 'tests/stringObj.test')
0 files changed, 0 insertions, 0 deletions