D 2002-05-30T11:11:31 J assignee msofer J cmimetype text/plain J comment This\spatch\sconverts\s[string\scompare]\sso\sthat\sit\ngenerates\sINST_STR_EQ;INST_LNOT\sinstead\sof\sINST_STR_CMP\nwhen\sthe\scomparison\sis\sgoing\sto\sbe\sused\sas\sa\sboolean\ntest\sin\sthe\s[if],\s[for]\sand\s[while]\scommands.\s\sThis\nshould\sbe\sfaster,\sparticularly\son\slonger\sstrings,\nbecause\swe\sdon't\sneed\sto\sknow\show\sthe\sstrings\sdiffer.\s\nPart\sof\sthe\spatch\scould\sbe\sconstrued\sto\sform\sthe\sbasis\nfor\sa\smore\sgeneral\soptimization\sframework,\sbut\sthat\nprobably\sneeds\smore\swork\sto\srealize... J foundin None J priority 5\sMedium J resolution None J status Open J submitter dkf J subsystem 45.\sParsing\sand\sEval J title Optimizing\s[if\s{[string\scompare]}\s...] J type Patch K 562297ffffffffffffffffffffffffffffffffff U dkf Z 37ff9faaf05387619a0fcc8d217f8900