I never knew this, till just now. After reading a new blog entry from Nicolas, the author of haXe, about optimizing, he explains that calling static functions are 10x SLOWER than methods.
What?!?! Oh man, I’ve got ALL of my managers in statics, dude! ScreenManager, ParticleManager, MissionManager, even ProjectileManager and CollisionManager!!.. Well, fancy that.. in the moment of being frustrated with crunch time, I just had to read that entry. I’m itching to tweak on the CollisionManager as there are several moments of FPS drop. Very subtle actually, but after several plays a ‘veteran’ might notice it.
I guess I’ll do it as an update after the release.
