Overview
| Comment: | * doc/Alloc.3: Added entries for Tcl_AttemptAlloc, Tcl_AttempRealloc. * doc/StringObj.3: Added entry for Tcl_AttemptSetObjLength. * generic/tclDecls.h: * generic/tclStubInit.c: Regen'ed stubs files from new tcl.decls. * generic/tcl.decls: Added stubs for the Tcl_Attempt* memory allocators and for Tcl_AttemptSetObjLength. * generic/tcl.h: Added #define's for attemptckalloc, attemptckrealloc, which map to the Tcl_Attempt* memory allocators. * generic/tclCkalloc.c: Added non-panic'ing versions of Tcl_Alloc, Tcl_Realloc, etc.; these are called Tcl_AttemptAlloc, Tcl_AttemptRealloc, etc. These are used by Tcl_AttemptSetObjLength and the string obj append functions. * generic/tclStringObj.c: Modified string growth algorithm to use doubling algorithm as long as possible, and only fall back when that fails. Added Tcl_AttemptSetObjLength, and modified AppendUnicodeToUnicodeRep, AppendUtfToUtfRep, and Tcl_AppendStringsToObjVA to support this. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
66347b65e49a6866c410d4c89031857f |
| User & Date: | ericm on 2000-09-14 18:42:27.000 |
| Other Links: | manifest | tags |
Context
|
2000-09-17
| ||
| 22:40 | * tests/cmdIL.test: Added a test for fix for [Bug: 6212]. * generic/tclCmdIL.c (Tcl_LsortObjCmd): A... check-in: fe4c99079c user: ericm tags: trunk | |
|
2000-09-14
| ||
| 18:42 | * doc/Alloc.3: Added entries for Tcl_AttemptAlloc, Tcl_AttempRealloc. * doc/StringObj.3: Added entr... check-in: 66347b65e4 user: ericm tags: trunk | |
|
2000-09-08
| ||
| 04:00 | no message check-in: 5445f97a7a user: davidg tags: trunk | |
Changes
Modified ChangeLog
from [f80456a1bd]
to [12f8a8a15f].
[diff]
Modified doc/Alloc.3
from [fac7bc84a9]
to [604a10e2fe].
[diff]
Modified doc/StringObj.3
from [5d240561dd]
to [2046a15c8d].
[diff]
Modified generic/tcl.decls
from [dab9f94cd1]
to [06aa120028].
[diff]
Modified generic/tcl.h
from [a7f85a3b74]
to [44ae397025].
[diff]
Modified generic/tclCkalloc.c
from [402b16abbb]
to [a577939bff].
[diff]
Modified generic/tclDecls.h
from [9170391c7d]
to [082f026806].
[diff]
Modified generic/tclStringObj.c
from [63f1e17047]
to [65457b8516].
[diff]
Modified generic/tclStubInit.c
from [c0c8ec52a2]
to [c4357a99bf].
[diff]