Hashtable question

  • Thread starter Thread starter Steve
  • Start date Start date
S

Steve

Is it possible and feasible to load 40,000 records to a hashtable. If this
happened on a page load event would there be performance issues?
What are other alternatives?
Thanks
Steve
 
Thanks David. Since I know the exact number of records and the data will not
be changed in anyway, first priority is fast loading and look up.
There are only 2 columns of data, the first will be the key, the second the
data. Would using an array be slower?
Also I'm not sure how to look up a known key in a hashtable and produce it's
corresponding value. Any ideas?
Thanks again for the link.
Steve
 
somevalue=myHashTable["keyValue"]
the hashing process is all invisible

sounds like you'll want to do a hashtable. the array approach would get
hairy since you're using more than one value.
 
Back
Top