Skip to content
Tcl Source Code Artifact [885ee93472]
Login

Artifact [885ee93472]

Artifact 885ee93472cc7073906419cbfe1cc989eac0e39c:

Manifest of check-in [885ee93472] - * generic/tclZlib.c (Tcl_ZlibStreamGet): [Bug 3081008]: Ensure that when a bytearray gets its internals entangled with zlib for more than a passing moment, that bytearray will never be shimmered away. This increases the amount of copying but is simple to get right, which is a reasonable trade-off. * generic/tclStringObj.c (Tcl_AppendObjToObj): Added some special cases so that most of the time when you build up a bytearray by appending, it actually ends up being a bytearray rather than shimmering back and forth to string. * tests/http11.test (check_crc): Use a simpler way to express the functionality of this procedure. by dkf on 2010-10-19 22:50:37.
B 78864676d1922285f73d41683b42f12f7b377179
C \t*\sgeneric/tclZlib.c\s(Tcl_ZlibStreamGet):\s[Bug\s3081008]:\sEnsure\sthat\n\twhen\sa\sbytearray\sgets\sits\sinternals\sentangled\swith\szlib\sfor\smore\sthan\n\ta\spassing\smoment,\sthat\sbytearray\swill\snever\sbe\sshimmered\saway.\sThis\n\tincreases\sthe\samount\sof\scopying\sbut\sis\ssimple\sto\sget\sright,\swhich\sis\sa\n\treasonable\strade-off.\n\n\t*\sgeneric/tclStringObj.c\s(Tcl_AppendObjToObj):\sAdded\ssome\sspecial\n\tcases\sso\sthat\smost\sof\sthe\stime\swhen\syou\sbuild\sup\sa\sbytearray\sby\n\tappending,\sit\sactually\sends\sup\sbeing\sa\sbytearray\srather\sthan\n\tshimmering\sback\sand\sforth\sto\sstring.\n\n\t*\stests/http11.test\s(check_crc):\sUse\sa\ssimpler\sway\sto\sexpress\sthe\n\tfunctionality\sof\sthis\sprocedure.\n
D 2010-10-19T22:50:37
F ChangeLog e8fb06db25aeaac731d35e3528510bff5ae9821a
F doc/info.n fe97c24ee207cd02afc3197d04344dbf9081e187
F generic/regc_locale.c 99c5643c67978edc4f41ee9a7fbc1849b7af049f
F generic/regcomp.c ee56274b9de126230dfc0a6f1d17db9fdd64f46b
F generic/tclCompile.c be5ed7452aa9d375a4dcebb86617083bc8b53852
F generic/tclExecute.c 53b2e31823dc985db799099d8b4b74d3410d658d
F generic/tclStringObj.c 9c7b77feebdd1fe9dad8e0d6292e5a197d5aeb06
F generic/tclUniData.c 289743ab3afc8813508d6f572fea76be6c5cc521
F generic/tclZlib.c 3e4668c6ed2584ea94090da2f98a382b496a4b6c
F tests/http11.test 31df71b9a909525e9c760107bb9049fa2dab44e4
F tests/utf.test e2cf8fdf69b4362a5a331f91a2fde2395789ccad
F tools/uniParse.tcl e2694be7c817a06846476ddf30bb85c2a63c850c
P e451f7d81075da71bfec8f1b5e66de50d335c471
U dkf
Z 4ec3398c05d74ee2c8ee065a0c78f44d