• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

How many hashtable is available?

Status
Not open for further replies.
Level 33
Joined
Mar 27, 2008
Messages
8,035
The limit is 256 of Hashtables.

The question is: How much data are you going to store ?

1 Hashtable can store up to 249340343 (I don't know the exact value but it's ALOT) of indexes BUT, as data is increased, so does the access time.

Therefore, you should know the scope of your data storage before applying it.

1 Hashtable can contain 10 or even 100 of spells in it as long as the index does not goes up to 8191 (ideal max storage per hashtable).
Well if it does, it's time for a new Hashtable to be created - in which it's not easy achieve that amount.
 
Status
Not open for further replies.
Top