Big performance difference between using a class with static functions and an instance of the class?

I am wondering if anyone has any experience if there is a big performance difference in ActionScript 3 between keeping a class with public static functions only and using those functions often (as is the case with a 30fps frame), and turning class to a "normal" class, which I instantiate instead and call functions through the instance instead.

I hope I can explain that I'm good here ...

amuses

+3


source to share


1 answer


There is a significant difference according to the uber AS3 Jackson Dunstan optimizer , with static methods about 3-4 times slower than non-static methods.



+6


source







All Articles