Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2007-11-27
10:20 • Closed ticket [1830184fff]: Tcl_ResetResult shortcut plus 6 other changes artifact: 28ce53e3ae user: sf-robot
2007-11-13
05:09 • Pending ticket [1830184fff]. artifact: fbc9f08262 user: msofer
2007-11-12
10:37 • Ticket [1830184fff]: 4 changes artifact: be7d004144 user: msofer
10:37 • Add attachment result.diff to ticket [1830184fff] artifact: 03c1b77864 user: msofer
03:37 • New ticket [1830184fff] Tcl_ResetResult shortcut. artifact: 27b4e32a63 user: msofer

Tcl_ResetResult shortcut

Closed1830184fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2007-11-12 03:37:12
Attached patch (committed, big perf improvement in command call overhead) has ChangeLog entry:

"New macro TclResetResult, new iPtr flag bit INTERP_RESULT_UNCLEAN: shortcut for Tcl_ResetResult for the "normal" case: TCL_OK, no return options, no errorCode nor errorInfo, return at normal level."

When INTERP_RESULT_UNCLEAN is set there is no shortcut, the code path is as before. Not sure if the bit is set too often.

Please review.
msoferplain2007-11-12 10:37:14
File Added - 253878: result.diff
msoferplain2007-11-13 05:09:35
Logged In: YES 
user_id=148712
Originator: YES

THIS PATCH WAS REVERTED: initial (mis)measurements overstated the
perfomance wins, which turn out to be tiny. Not worth the
complication.
sf-robotplain2007-11-27 10:20:06
Logged In: YES 
user_id=1312539
Originator: NO

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Log in (anonymous is fine) to add a comment.

Attachments: