Anonymous user
Talk:Ordered words: Difference between revisions
→No Dictionary?: possible solution
(→No Dictionary?: We might ask?) |
(→No Dictionary?: possible solution) |
||
(One intermediate revision by one other user not shown) | |||
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>
Line 490 ⟶ 494:
::I started to look into it, but have to stop, myself. I got as far as [http://www.puzzlers.org/word-lists this page] which states that '''some''' of the lists may be open-source. If someone finds that we could site the list here then we might then try and get a copy re-hosted; but it would have to be the exact same page or saved as a latin_1 encoded text file. (We would not want a copy to cause problems with existing code).
:::I successfully accessed the wordlist using the "Wayback Machine" with this URL ==> https://web.archive.org/web/20180611003215/http://www.puzzlers.org/pub/wordlists/unixdict.txt
:::I'll edit that URL into the page. If that's a mistake feel free to back out my change.
:::--[[User:Balrog|Balrog]] ([[User talk:Balrog|talk]]) 19:16, 7 June 2019 (UTC)
|