Manifest of check-in
[e188de7032]
- * 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.
by
dgp on
2009-02-17 06:52:05.
B ac61ee395893ab793e426d97e8fa37554b4f8ed7
C \s\s\s\s\s\s\s\s*\sgeneric/tclStringObj.c:\s\s\s\s\s\s\sRevise\sbuffer\sgrowth\simplementation\n\s\s\s\s\s\s\s\sin\sExtendStringRepWithUnicode.\s\sUse\scheap\schecks\sto\sdetermine\sthat\n\s\s\s\s\s\s\s\sno\sreallocation\sis\snecessary\swithout\scost\sof\scomputing\sthe\sprecise\n\s\s\s\s\s\s\s\snumber\sof\sbytes\sneeded.\s\sAlso\smake\suse\sof\sthe\sstring\sgrowth\salgortihm\n\s\s\s\s\s\s\s\sin\sthe\scase\sof\srepeated\sappends.\n
D 2009-02-17T06:52:05
F ChangeLog 2d9fe585a22e30e4f9dcbb90381f78b7c53fa2de
F compat/zlib/win32/zdll.lib 42a1860b131395a691394ecd8c2e3031aeef2a7e
F compat/zlib/win32/zlib1.dll 6d957ba632df5b06d49a901f2772df4301610a2a
F generic/tclExecute.c 3f51ca59b805e18cecb03e586fcb917386f357cc
F generic/tclInt.h 8e6d3eeb7fc8d312b5c6c9091adbbc5706b4fc59
F generic/tclStringObj.c 173300a50573563d0fa1395f9889bdfe09ed223f
F generic/tclTestObj.c 42ba3c6ecc77cb42dc2208ee792f8f3b10750137
F generic/tclZlib.c 7422e19f7e51f99af1edd38e54cc736d73fb6c61
F tests/stringObj.test dfbdce5e0e89ab0271a1947de471288bff43f501
F win/Makefile.in 44aed5dd026030d6db1ef5f489cb39a9aff5f9e9
F win/configure f7d44308dea6048840e20301e17ffac5e14812d4 x
F win/configure.in 50f8b470a84ad8512f938bded9c109788206c6aa
P 77fa325ce4d5fc80c36b9eb30f3690d190ffaba6
U dgp
Z 7189868a1ba8ec18cdf911070d72a129