Anonymous user
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
<br>but I took the (above) existing code and ripped its guts out (er,
<br>simple benchmark test out of it.
I soon discovered that the two versions of the '''if''' statement was being
<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
<br>I left that modification in the benchmark program.
Line 359:
<br>installed on my two computers, plus an o-o REXX interpreter:
::* R4
::* ROO
::* Regina
::* 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.: I benchmarked the programs on an air-gap computer. -- [[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>
|