Thread: Memory Issue
View Single Post
05-17-09, 12:47 PM   #7
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
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.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/