Overview
| Comment: | Add filtering capability to [array exists] and Tcl_ArrayExists() so that individual elements can be tested for. For example, [array exists arrayName *] is a higher-performance alternative to [array size arrayName] for testing if an array is non-empty since it doesn't fully enumerate the array and only checks if there is at least one matching element. |
|---|---|
| Timelines: | family | ancestors | descendants | both | amg-array-enum-c-api |
| Files: | files | file ages | folders |
| SHA1: |
5c0f2a9fbb2adeae296d4378218209ad |
| User & Date: | andy on 2016-11-29 19:29:16.285 |
| Other Links: | branch diff | manifest | tags |
Context
|
2016-11-29
| ||
| 19:39 | Merge trunk check-in: 227eb2b89f user: andy tags: amg-array-enum-c-api | |
| 19:29 | Add filtering capability to [array exists] and Tcl_ArrayExists() so that individual elements can be ... check-in: 5c0f2a9fbb user: andy tags: amg-array-enum-c-api | |
| 18:50 | Add comments to tcl.h more clearly indicating which flag values are reserved to better avoid future ... check-in: c8816ca461 user: andy tags: amg-array-enum-c-api | |
Changes
Modified doc/ArraySet.3
from [893532cfaf]
to [cd0da1adf2].
[diff]
Modified generic/tcl.decls
from [ed5f24f0cd]
to [11b40c1c26].
[diff]
Modified generic/tclDecls.h
from [266e0c4127]
to [6e1795476e].
[diff]
Modified generic/tclVar.c
from [ec6b9e3cbf]
to [23ce14cdbb].
[diff]
Modified tests/set-old.test
from [ae331c5ff1]
to [42c7d9aa9d].
[diff]