Re: Ally Resource Bars 1.84 Alpha 2
Posted: 08 Nov 2015, 03:59
that's weird, for me it shows DrawScreen and less than 1%
the only function that gets executed constantly from gameframe is updatebars()
that function is the most heavily optimized in the entire code, I cannot see how that function could be the source of the performance leak
here is a test version, try it and tell me if you see any improvement, it contains a micro optimization where it saves 2 arithmetic operations by reusing a computation (it's replacing 4 arithmetic operations with 1 assignment and 1 arithmetic) (Alpha 3)
the only function that gets executed constantly from gameframe is updatebars()
that function is the most heavily optimized in the entire code, I cannot see how that function could be the source of the performance leak
here is a test version, try it and tell me if you see any improvement, it contains a micro optimization where it saves 2 arithmetic operations by reusing a computation (it's replacing 4 arithmetic operations with 1 assignment and 1 arithmetic) (Alpha 3)