Is there a more elegant way to test the identity of two Rexx
strings than:
if (Object string1) == (Object string2) then
...
The above works just fine, but I find it ugly, long to type and
not that readable :-)
[In case some are wondering, I'm doing tens of millions of
comparisons between Rexx strings, and, for space and efficiency,
they are all resolved through a pool, so that two Rexx strings
are equal if and only if they are the same object. Comparing
10,000,000 times two identical 26-characters Rexx strings takes
12" here when using Rexx's ==. One hundred time that (i.e.,
1,000,000,000) comparisons with the code given above takes less
that 6". I _want_ those seconds :-) ]
Martin
--
[hidden email]
Team OS/2
http://www.multimania.com/lafaix~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>