Talk:Ordered words: Difference between revisions

m
→‎REXX benchmarks: re-instated original whitespace, corrected some misspellings, added a comments about an air-gap computer used for benchmarking.
(→‎No Dictionary?: We might ask?)
m (→‎REXX benchmarks: re-instated original whitespace, corrected some misspellings, added a comments about an air-gap computer used for benchmarking.)
Line 345:
These are the results for REXX exact vs. regular comparisons as per Walter's request.
 
<br>I no longer have the original ''regular compare'' vs. ''exact compare'' REXX benchmarkingbench-marking programs,
<br>but I took the (above) existing code and ripped its guts out (er, disembowelleddisemboweled it), and made a
<br>simple benchmark test out of it.
 
I soon discovered that the two versions of the '''if''' statement was being drawfeddwarfed by the
<br>overhead of the '''do''' loop, so I unrolled the '''if''' statements.
 
Just for grins, I reversed the order of the compares on every other compare, and I was
<br>somewhat surprised that more CPU time was consummedconsumed.
<br>I left that modification in the benchmark program.
 
Line 359:
<br>installed on my two computers, plus an o-o REXX interpreter:
 
::* &nbsp; R4
::* &nbsp; ROO
::* &nbsp; Regina
::* &nbsp; Personal REXX
 
<lang rexx>/*REXX*/ parse version _; say 'version:' _; say
Line 456:
<br>As with most benchmarks, I often feel that I'm leading a horse to water ...
<br> -- [[User:Gerard Schildberger|Gerard Schildberger]] 23:32, 16 July 2012 (UTC)
 
 
P.S.: &nbsp; I benchmarked the programs on an air-gap computer. &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 07:02, 15 August 2018 (UTC)
 
-----
 
ooRexx Results for the above 2 programs thar surprised me (a little):
<pre>