On Wed, 18 Jul 2007 11:54:46 -0400, in bit.listserv.ibm-main (Message-ID:<[EMAIL PROTECTED]>) "pdc" <[EMAIL PROTECTED]> wrote:

just a quick question. (double posted to TSOREXX)

Is there a difference, performance or otherwise, between the following two
commands?

On the more general REXX newsgroup, we've seen that the answer to any performance question depends on what REXX you're running. (You've posted to IBM-Main, but we still don't know MVS, VSE, or VM, and compiled, semi-compiled or interpreted.)

The general answer to performance questions is: "Create a huge loop, and find out."

Just out of curiosity, I ran tests on my home PC (Win2k w/ Regina REXX). I was going to post my results, but when I switched the order of the loops, the results swapped, too. To my mind, that means they're equal in machine efficiency, and (to me) the concat form is much easier to read and less likely to cause a problem. (Also, someone noted the problem of concatenating variable named 'x' with a quoted string by abutting them.)


--
I cannot receive mail at the address this was sent from.
To reply directly, send to ar23hur "at" intergate "dot" com

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to