- Joined
- Jan 27, 2016
- Messages
- 89
Is there a maximum size to a hashtables key and if so, how much?
Whats stopping me from just converting the following strings to integers and using them
[(UnitID1)][(UnitID2).2]
[(UnitID1)][(UnitID2).3]
Basically using periods to seperate pieces of input data into the hashtable and having multiples of them, sort of simulating multidimensional arrays? Realistic Example of a hashtable that saves a lot of units to its number that fit certain criteria,
[Number][Criteria1.Criteria2.Criteria3]
where in this case, criteria 1 is, is the unit flying, 2 is is it undead, 3 is its level above 3
save number of those units into 0
and then loop from 0 to whatever the number above is for all those units
Whats stopping me from just converting the following strings to integers and using them
[(UnitID1)][(UnitID2).2]
[(UnitID1)][(UnitID2).3]
Basically using periods to seperate pieces of input data into the hashtable and having multiples of them, sort of simulating multidimensional arrays? Realistic Example of a hashtable that saves a lot of units to its number that fit certain criteria,
[Number][Criteria1.Criteria2.Criteria3]
where in this case, criteria 1 is, is the unit flying, 2 is is it undead, 3 is its level above 3
save number of those units into 0
and then loop from 0 to whatever the number above is for all those units