Closed FrankDMartinez closed 12 years ago
Sort of. keys and values are arrays containing corresponding values, but it's not actually a hash table because the program has no need for random access. The program iterates over keys and values in scoreDigraph().
On 7/31/12 11:12 AM, FrankDMartinez wrote:
Hi, Am I correct in presuming the purpose of the
keys
andvalues
variables incompileTypingData()
is to create a hash table of character or digraph frequencies?
Reply to this email directly or view it on GitHub: https://github.com/MTGandP/Typing/issues/10
Thanks! That helps clear things up a good deal. Does the same apply to keys
and values
in other functions, such as sortTypingData()
, sortDigraphs()
, and sortMonographs()
?
Yes. diKeys, diValues, monKeys, and monValues are initialized by initTypingData() and then used in other functions.
On 7/31/12 1:37 PM, FrankDMartinez wrote:
Thanks! That helps clear things up a good deal. Does the same apply to
keys
andvalues
in other functions, such assortTypingData()
,sortDigraphs()
, andsortMonographs()
?
Reply to this email directly or view it on GitHub: https://github.com/MTGandP/Typing/issues/10#issuecomment-7407519
Thanks! :-D
Hi, Am I correct in presuming the purpose of the
keys
andvalues
variables incompileTypingData()
is to create a hash table of character or digraph frequencies?