View Single Post
04-18-09, 02:08 AM   #40
yssaril
A Warpwood Thunder Caller
 
yssaril's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2007
Posts: 96
Originally Posted by Azul View Post
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)