Skip to content
Tcl Source Code Check-in [6a9cd28b04]
Login

Check-in [6a9cd28b04]

Overview
Comment: * generic/tclVar.c: refactorisation to reuse already looked-up Var pointers; definition of three new Tcl_Obj types to cache variable name parsing and lookup for later reuse; modification of internal functions to profit from the caching. * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclNamesp.c: adding CONST qualifiers to variable names passed to Tcl_FindNamespaceVar and to variable resolvers; adding CONST qualifier to the 'msg' argument to TclLookupVar. Needed to avoid code duplication in the new tclVar.c code. * tests/set-old.test: * tests/var.test: slight modification of error messages due to the modifications in the tclVar.c code.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 6a9cd28b04d09f7b3dedf5cdd500cc772057a146
User & Date: msofer on 2002-07-15 22:18:02.000
Other Links: manifest | tags
Context
2002-07-16
01:12
using the new variable name caching possibilities when setting error results in (Tcl_AddObjErrorInfo... check-in: 99b46f3211 user: msofer tags: trunk
2002-07-15
22:18
* generic/tclVar.c: refactorisation to reuse already looked-up Var pointers; definition of t... check-in: 6a9cd28b04 user: msofer tags: trunk
20:39
* Improved constraints to protect /tmp. [Bug 581403] check-in: 81934e6e5a user: dgp tags: trunk
Changes