Okay, i lost a day, but i get this.

So, i have a huge project, last month i worked only with mathematica (angles of players, corrections, etc), and i was really dissapointed with the falling of FPS and memory size.
1) I commented 99% of code: includes, startup and so on.
When i run nearly empty script, i got 2 functions running, empty screen and 400+ fps.
2) I uncommented and optimized some INCLUDE files, so the summary size of scripts increased... i got still 2 functions running, empty screen and 280 fps.
And its not the end.

Why this happens? Why FPS depends on number of strings, but not on number of running functions?


1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro