• 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.

[JASS] Quick question about hashtable.

Status
Not open for further replies.
No. Use whatever keys you want (even negative numbers). I don't remember if you can use keys beyond the key limit of 2147483647 (2^31 - 1), so I advise you to keep it within -2147483647 to 2147483647.

If you mean the number of parent keys/child keys/values you can store, there is likely a limit but it is beyond any practical purpose, so go nuts with it if you'd like.
 
Level 11
Joined
Oct 11, 2012
Messages
711
No. Use whatever keys you want (even negative numbers). I don't remember if you can use keys beyond the key limit of 2147483647 (2^31 - 1), so I advise you to keep it within -2147483647 to 2147483647.

If you mean the number of parent keys/child keys/values you can store, there is likely a limit but it is beyond any practical purpose, so go nuts with it if you'd like.

Thanks for the reply, PnF. :)
Yea, I mean the number of parent keys/child keys/values, i may need to store lots of coordinates to damage enemies (sort of a fire wall spell like "Blaze" in Diablo 2), so thats why I am asking. So, practically I do not need to worry about hitting the limit? I may store at most 100 coordinates. :)
 
Status
Not open for further replies.
Top