During translation our commonString handling will "common-force" all instances of either Integer e. g. like 2, or String like "2" to all String or all Integer, depending on which one of them had appeared first.
This can have quitre some effect as seen in below example. The first one (where all 2s are interpreted as '2') is three times slower than the second one, where the 2's are all interpreted a 2 integers. ~~~ rexx -e "a = '2'; call time 'r'; do 1e6; n = 2*2*2*2*2*2*2*2*2*2; end; say time('e')" rexx -e "a = 2; call time 'r'; do 1e6; n = 2*2*2*2*2*2*2*2*2*2; end; say time('e')" ~~~ There may be a few ways to fix . any suggestions for the best way?
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel