There are a great many places where it does use tables inside the event and update handlers... for example... when spells are cast on a unit the mod has to build a list of all spells on the unit, then sort the list by time remaining, etc. There are a myriad of places where this happens.
What I am in the process of doing is going through the entire set of update and event engine methods and removing all use of dynamic memory in lieu of building cache tables and recycling.
It's just a slow and tedious process where truly complex table manipulation is going on.
|