- Joined
- May 21, 2009
- Messages
- 994
Maybe it should be an option like with TimerUtils.
Inferior said:well Auto Index is recycling the Units
type eventDamageArray extends real array [5, 40955]
struct UnitDamage
eventDamageArray eventDamage
...
endstruct
Anachron said:So what's the deal with it when its slower and has limits?
I know this but thanks.Erm. What?
The reason an array of size 5 (real array) "cannot" be added to the data-struct is because then there are 5 dedicated instances required for each struct, which reduces the amount of maximum structs of that type that you can have. By simply compressing that into a single variable (non-array) that extends an array of size 5 and given extended array parameters we can eliminate this limit, though then (because the way JassHelper processes things) the array references would probably (not sure here) be the same as hash-tables.
Yeah, that is what I meant. I don't like the limits.If you have been reading, it's not "slower and has limits". It's either slower and has no limits, or has limits and is much faster.