Originally Posted by Azul
I don't see how having two OnUpdate functions with 30 variables each would be faster then a single OnUpdate function with 60. If anything it should be a lot slower.
|
he dosnt mean another OnUpdate function but OnEvent functions
are any of your variables you are constantly checking for related to any of the in game events?
http://www.wowwiki.com/Events_(API) (this is why people want to see your code to help you optimize it and we dont care how it looks)
since using an event handler is usalualy alot more efficient than an OnUpdate handler (which you should usually try to avoid)