How should I optimize the use of 1000s of AIs?

Thank you! Well, what I meant is that the AI units will be sleeping until at war. So I can imagine your multi-thread solution could work for that too.

I look forward to seeing it on the marketplace when it becomes available.