Overview
| Comment: | * generic/tclBasic.c: Use new interface in Tcl_EvalObjEx so that the recounting logic of the List internal rep need not be repeated there. Better encapsulation of internal details. * generic/tclInt.h: New internal routine TclListObjCopy() used * generic/tclListObj.c: to efficiently do the equivalent of [lrange $list 0 end]. After some experience with this, might be a good candidate for exposure as a public interface. It's useful for callers of Tcl_ListObjGetElements() who want to control the ongoing validity of the returned objv pointer. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
a69b4832a15c525c7ab2518449b3c517 |
| User & Date: | dgp on 2007-02-24 18:55:42.000 |
| Other Links: | manifest | tags |
Context
|
2007-02-26
| ||
| 19:10 | * generic/tclCmdAH.c (Tcl_ForeachObjCmd): Removed surplus copying of the objv ... check-in: ffefff36e6 user: dgp tags: trunk | |
|
2007-02-24
| ||
| 18:55 | * generic/tclBasic.c: Use new interface in Tcl_EvalObjEx so that the recounting log... check-in: a69b4832a1 user: dgp tags: trunk | |
| 18:29 | correct bogus change check-in: 2a6893c8ad user: dgp tags: trunk | |
Changes
Modified ChangeLog
from [3e85158f66]
to [3386e9fadd].
[diff]
Modified generic/tclBasic.c
from [5f5bb61257]
to [d5be82c461].
[diff]
Modified generic/tclInt.h
from [c95c9b70ac]
to [6646556d0b].
[diff]
Modified generic/tclListObj.c
from [d221daeaab]
to [48e8ae942b].
[diff]