3 ms·
Why would he want to implement a frequency-sorted list as a hashtable!?
by ulf 17y ago
Why would he want to implement a frequency-sorted list as a hashtable!?
- derefr 17y agoThe final list wasn't a hashtable—he said he "harvested" the values from the hashtable to construct the final list. The hashtable was for counting values: every time you read a word from the corpus you're going to increment a value on an almost-random, complex key. Sounds like a job for a hashtable to me.