Skip to content
Tcl Source Code Check-in [5c0f2a9fbb]
Login

Check-in [5c0f2a9fbb]

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: 5c0f2a9fbb2adeae296d4378218209adee0d81c4
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