diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2004-10-01 12:45:17 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2004-10-01 12:45:17 (GMT) |
commit | a4f55f2e8217331b1246d87b5244116fbe7be28b (patch) | |
tree | b1e8471c56791d7d6064499e823653970b1550a6 /generic/tclObj.c | |
parent | 659cfd43ab1e3669896b987ce4d501df9e9b80cc (diff) | |
download | tcl-a4f55f2e8217331b1246d87b5244116fbe7be28b.zip tcl-a4f55f2e8217331b1246d87b5244116fbe7be28b.tar.gz tcl-a4f55f2e8217331b1246d87b5244116fbe7be28b.tar.bz2 |
Speed up [upvar] and [uplevel] by not forcing level references to be parsed
as strings every time through. [Patch 1037357]
Diffstat (limited to 'generic/tclObj.c')
-rw-r--r-- | generic/tclObj.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclObj.c b/generic/tclObj.c index 8f1fa5e..9154690 100644 --- a/generic/tclObj.c +++ b/generic/tclObj.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclObj.c,v 1.70 2004/09/29 22:22:50 dkf Exp $ + * RCS: @(#) $Id: tclObj.c,v 1.71 2004/10/01 12:45:20 dkf Exp $ */ #include "tclInt.h" @@ -292,6 +292,7 @@ TclInitObjSubsystem() Tcl_RegisterObjType(&tclCmdNameType); Tcl_RegisterObjType(&tclLocalVarNameType); Tcl_RegisterObjType(&tclRegexpType); + Tcl_RegisterObjType(&tclLevelReferenceType); #ifdef TCL_COMPILE_STATS Tcl_MutexLock(&tclObjMutex); |