Hi all,

I am working on an app doing some WebGL stuff, so the application does lot
of calculations at high frequency and so i  notice some slowdowns due to
the garbage collector.

I am trying to reduce as much as i can those slowdowns by two ways :
- Reuse of objects
- Reduce number of objects.

As maths calculations requires many objects, i am looking to have a maths
library with only static functions instead of using maths objects functions.

For example instead of having a Vector3f that contains a method
Add(Vector3f v) i should have a static function anywhere static void
AddVectors(Vector3f v1, Vector3f v2, Vector3f out).

But is there a performances overhead due to the use of static functions
with GWT ?



Regards,
Harold

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to