diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2007-11-12 22:12:05 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2007-11-12 22:12:05 (GMT) |
commit | 5b4e070132a72fbdc6e847f3d867b0ac50b2b27e (patch) | |
tree | 03c22f508c951d244ef37a1f442a9ec42a8fadf3 /generic/tclUtil.c | |
parent | f1697bec1072b46875019441e44ac305288cd658 (diff) | |
download | tcl-5b4e070132a72fbdc6e847f3d867b0ac50b2b27e.zip tcl-5b4e070132a72fbdc6e847f3d867b0ac50b2b27e.tar.gz tcl-5b4e070132a72fbdc6e847f3d867b0ac50b2b27e.tar.bz2 |
RE: [Patch 1830184] TclResetResult
THIS PATCH WAS REVERTED: initial (mis)measurements overstated the
perfomance wins, which turn out to be tiny. Not worth the
complication.
Diffstat (limited to 'generic/tclUtil.c')
-rw-r--r-- | generic/tclUtil.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tclUtil.c b/generic/tclUtil.c index 76dfd12..5a6004c 100644 --- a/generic/tclUtil.c +++ b/generic/tclUtil.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: tclUtil.c,v 1.90 2007/11/12 22:01:42 hobbs Exp $ + * RCS: @(#) $Id: tclUtil.c,v 1.91 2007/11/12 22:12:08 msofer Exp $ */ #include "tclInt.h" @@ -2024,7 +2024,6 @@ Tcl_DStringResult( } else { Tcl_SetResult(interp, dsPtr->string, TCL_VOLATILE); } - ((Interp *) interp)->flags |= INTERP_RESULT_UNCLEAN; dsPtr->string = dsPtr->staticSpace; dsPtr->length = 0; |