W!†A_cRaft
Ultra Cool Member
- Reaction score
- 28
If i was to for example create a hashtable with parameters like this:
Now if i for example want to clear a certain part of the table lets say
These 5 empty fields that i gotten by flushing child hashtable are still there, they are just empty?
Now if i lets say add another "row" basically 101, will it overwrite a place in memory that was empty or will it just make a new row.
if it makes a new row, do these empty rows cause lag/delay and things like that?
JASS:
Now if i for example want to clear a certain part of the table lets say
JASS:
local integer i = 10
loop
exitwhen i == 15
call FlushChildHashtabled(i)
set i = i + 1
endloop
Code:
now if i take a look at my hashtable it will have fields like:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 . . .20
1 u u u u u u u u u u u u u u u u u
2 u u u u u u u u u u u u u u u u u
3 u u u u u u u u u u u u u u u u u
4 u u u u u u u u u u u u u u u u u
5 u u u u u u u u u u u u u u u u u
6 u u u u u u u u u u u u u u u u u
7 u u u u u u u u u u u u u u u u u
8 u u u u u u u u u u u u u u u u u
9 u u u u u u u u u u u u u u u u u
10 . . . . . . . . . . . . . . . . .
11 . . . . . . . . . . . . . . . . .
12 . . . . . . . . . . . . . . . . .
13 . . . . . . . . . . . . . . . . .
14 . . . . . . . . . . . . . . . . .
15 . . . . . . . . . . . . . . . . .
16 u u u u u u u u u u u u u u u u u
17 u u u u u u u u u u u u u u u u u
.
.
100 u u u u u u u u u u u u u u u u u
These 5 empty fields that i gotten by flushing child hashtable are still there, they are just empty?
Now if i lets say add another "row" basically 101, will it overwrite a place in memory that was empty or will it just make a new row.
if it makes a new row, do these empty rows cause lag/delay and things like that?