I saw this whilst developing both O.B.I. and O-Wheely! addons.
At one point I was creating and clearing tables quite frequently - however this being bad in terms of memory usage I've rewritten both addons NOT to do this now - so I don't have a working example...
A question, however...
If you write code which triggers on ON_UPDATE and takes a LONG time to run - can another ON_UPDATE event trigger before the first one is complete?
At one point I had some code scraping tooltips inefficiently and it was taking maybe .2sec to complete - which is a LONG time - could that code have been executed 'on top of itself'?
|