diff options
author | dgp <dgp@users.sourceforge.net> | 2009-02-17 06:52:05 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2009-02-17 06:52:05 (GMT) |
commit | 28f3aa0a8e86ea3ecd2e2699fa20fd08c6c22763 (patch) | |
tree | 8dd7fb6f7376bd56e7e06287edde8a430e34a016 /tests | |
parent | 6c8a61b4c4ced636c66d653d11459edac7232d74 (diff) | |
download | tcl-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')
0 files changed, 0 insertions, 0 deletions