Talk:Word wheel: Difference between revisions

m
→‎Algorithms: added some comments about a "fuller" dictionary.
(→‎Algorithms: 12x larger dictionary)
m (→‎Algorithms: added some comments about a "fuller" dictionary.)
Line 8:
::Hi Gerald, no waste of memory in the Julia case as nested loops are used to generate word candidates one-at-a-time and then quickly checked if they are in the set of dictionary words. Probably hundreds of thousands of lookups which is OK for todays laptops. As for dictionary size, the task ''specifies'' a ''particular'' dictionary to use; going so far outside of that may interest, but is outside the task boundary.
:: Cheers, --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 03:32, 5 July 2020 (UTC)
 
::: (No ell in Gerard).   I know it appears that this Rosetta Code task ''specifies'' a ''particular'' dictionary to use, but the very next sentence says that   ''If you prefer to use a different dictionary ...'',   so that more-or-less nullifies that a particular dictionary ''has'' to be used;   although I know that using one (directed) dictionary   (as per a task requirement)   helps to compare one's output to other computer programming language examples.   I do wish that a fuller dictionary which has duplicate words in it and/or words what are capitalized ('''us''' and '''US''')   to better reflect a "real-world" dictionary   (and expose problems with programming code that makes/takes/assumes shortcuts).   But, alas, it is what it is, and if I would use (say, "my" dictionary of over   915,000   words),   it doesn't lend itself to comparing the output to anyone else's output, although I did mention the results in the REXX output section in prose form.     -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 13:45, 5 July 2020 (UTC)
 
:: Just ran the larger [https://raw.githubusercontent.com/dwyl/english-words/master/words.txt dictionary] its 12x the size of the standard dictionary and runs in 15x the time using the Python code. (There is a lot of "cruft" padding out that larger dictionary from the look of the first 100 words). --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 10:18, 5 July 2020 (UTC)