Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 73a72bf198a87f6b6bc82301b7bdddbbb91cdab7
Ticket: 562297ffffffffffffffffffffffffffffffffff
Optimizing [if {[string compare]} ...]
User & Date: dkf on 2002-05-30 11:11:31
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    This patch converts [string compare] so that it
    generates INST_STR_EQ;INST_LNOT instead of INST_STR_CMP
    when the comparison is going to be used as a boolean
    test in the [if], [for] and [while] commands.  This
    should be faster, particularly on longer strings,
    because we don't need to know how the strings differ. 
    Part of the patch could be construed to form the basis
    for a more general optimization framework, but that
    probably needs more work to realize...
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dkf"
  9. subsystem changed to: "45. Parsing and Eval"
  10. title changed to: "Optimizing [if {[string compare]} ...]"
  11. type changed to: "Patch"