-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
Description
In master branch of Spring EnemyCreated() and EnemyDestoryed() events are fixed so we can switch into even driven mechanism.
- there is no vector reinitialization each update where can be up to 500 items
- we can remove or extend restriction of 500 untis to be considered
- we can provide another threatmap layer for static units, so we can use their precalculated values; also such maps vary seldom
- we can implement buffer technology to calculate threat per fixed unit chunks, until all units processed. then this buffer becomes active threatmap layer. so we can predict CPU consumption will never raise above some value.
Your ideas are welcome.