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: |
20cba22d4264a71bbc3de27278a9ed12 |
| 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
Modified ChangeLog
from [c6f1c449d7]
to [91ca37c937].
[diff]
Modified doc/ListObj.3
from [016c3c84d1]
to [ef5fb9b8db].
[diff]
Modified generic/tclBasic.c
from [4c5eaa43cf]
to [5b40e86682].
[diff]
Modified generic/tclCmdIL.c
from [75756b71cd]
to [ccb8282541].
[diff]
Modified generic/tclConfig.c
from [d324bef6e9]
to [03a5f36660].
[diff]
Modified generic/tclExecute.c
from [3c38e71cc9]
to [76b6a49fbd].
[diff]
Modified generic/tclInt.decls
from [5ae2bb480d]
to [0e26fcdd0e].
[diff]
Modified generic/tclInt.h
from [8709c68cbe]
to [2476f8c355].
[diff]
Modified generic/tclIntDecls.h
from [83bc4175fc]
to [a5f784beeb].
[diff]
Modified generic/tclListObj.c
from [253ffabe5a]
to [61793c3b36].
[diff]
Modified generic/tclStubInit.c
from [b9ebc9455f]
to [581cb705e4].
[diff]
Modified generic/tclVar.c
from [7935c4ad7c]
to [961ace1d87].
[diff]