Skip to content
Tcl Source Code Check-in [20cba22d42]
Login

Check-in [20cba22d42]

Overview
Comment:Changed the internal representation of lists to (a) reduce the malloc/free calls at list creation (from 2 to 1), (b) reduce the cost of handling empty lists (we now never create a list internal rep for them), (c) allow refcounting of the list internal rep. The latter permits insuring that the pointers returned by Tcl_ListObjGetElements remain valid even if the object shimmers away from its original list type. This is [Patch 1158008]
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 20cba22d4264a71bbc3de27278a9ed12fbe42004
User & Date: msofer on 2005-04-02 02:08:22.000
Other Links: manifest | tags
Context
2005-04-03
00:20
* generic/tclVar.c: converted a few function calls to macros. check-in: 3298b60c63 user: msofer tags: trunk
2005-04-02
02:08
Changed the internal representation of lists to (a) reduce the malloc/free calls at list creation (f... check-in: 20cba22d42 user: msofer tags: trunk
2005-04-01
19:08
slight reduction in cost of INST_START_CMD check-in: 94ede88e2b user: msofer tags: trunk
Changes