is there a good reference that we can check to make sure we don't slow the game down too much?
I saw this post
and he says 5 ms is too high? is that correct? how do you quickly calculate that with the max number of units for each player?vexed wrote:Anything above 5ms is way too much. (heck, I would think anything above 3ms, but I am not sure what kind of overhead we have with the script stuff right now.)
While it may not seem like much, once you start adding in more AIs, then that 5ms can quickly climb to 45ms for 9 AI players.
I also think that if a function really is that slow, it would be much better to have support on the C++ side, but it should be a widely used function, and not something specific to the AI in question.