Jump to content

Talk:Word wheel: Difference between revisions

m
→‎Algorithms: added a comment about CPU time used to detect duplicates.
m (→‎Algorithms: added some verbiage concerning the word filters.)
m (→‎Algorithms: added a comment about CPU time used to detect duplicates.)
Line 4:
Nice. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 15:30, 4 July 2020 (UTC)
 
: It seems a waste of memory and CPU time to generate all possible conforming strings instead of writing some simple filters that validates the words against the Rosetta Code task and grid (word wheel) constraints. &nbsp; The REXX solution consumes almost all of the CPU time in just reading in the dictionary. &nbsp; The filters that I used for the REXX programming solution eliminate over half of the 25,105 words in the UNIXDICT file, &nbsp; about &nbsp;<sup>1</sup>/<sub>4</sub>&nbsp; of the time used for the filtering was used in the detecting of duplicate words &nbsp; (there are none, however). &nbsp; A very small fraction of that is used to validate that each letter (by count) is represented in the grid. &nbsp; I wonder what the CPU consumption would be if the number of words (entries) in the dictionary were a magnitude larger. &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 21:34, 4 July 2020 (UTC)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.