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!
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.
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.
Hashtables suffer from O(n) performance degradation when storing a lot of values (order of thousands to millions). This is because they use a non-dynamic bucket array I am guessing so will have a lot of collisions for larger numbers of values.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.