Skip to content
Tcl Source Code Check-in [14abdb946c]
Login

Check-in [14abdb946c]

Overview
Comment: * generic/tclStringObj.c: Replace the 'size_t uallocated' field of the String struct, storing the number of bytes allocated to store the Tcl_UniChar array, with an 'int maxChars' field, storing the number of Tcl_UniChars that may be stored in the allocated space. This reduces memory requirement a small bit, and makes some range checks simpler to code.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 14abdb946c0edcb639e204d04eb66958dcb731b4
User & Date: dgp on 2009-02-15 22:32:19.000
Other Links: manifest | tags
Context
2009-02-15
23:13
* generic/tclStringObj.c: Factor out duplicate code from Tcl_AppendObjToObj. check-in: dac012d276 user: dgp tags: trunk
22:32
* generic/tclStringObj.c: Replace the 'size_t uallocated' field of the String ... check-in: 14abdb946c user: dgp tags: trunk
16:49
* generic/tclStringObj.c: Removed limitation in Tcl_AppendObjToObj where the c... check-in: 24a9c9e7b5 user: dgp tags: trunk
Changes