GroupAI check calls
Posted: 16 Dec 2006, 20:55
According to MSVS debugger, everytime you select a unit it loads all the groupAIs and queries them then unloads them.
Why it has to load then unload the dll's is beyond me, especially when it does it when the dll is already loaded and running a groupAI.
And why these return values cant be cached, it isnt that much memory to have an array of bits (I believe there's an STL container for it too), indexed by the UnitDef index, which would rarely breach the 1kb mark, which is filled at startup.
Why it has to load then unload the dll's is beyond me, especially when it does it when the dll is already loaded and running a groupAI.
And why these return values cant be cached, it isnt that much memory to have an array of bits (I believe there's an STL container for it too), indexed by the UnitDef index, which would rarely breach the 1kb mark, which is filled at startup.