Overview
| Artifact ID: | 73a72bf198a87f6b6bc82301b7bdddbbb91cdab7 |
|---|---|
| Ticket: | 562297ffffffffffffffffffffffffffffffffff
Optimizing [if {[string compare]} ...] |
| User & Date: | dkf on 2002-05-30 11:11:31 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- 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...
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dkf"
- subsystem changed to: "45. Parsing and Eval"
- title changed to: "Optimizing [if {[string compare]} ...]"
- type changed to: "Patch"