by Presto » Oct 22, 2004 @ 4:07pm
If you're trying to do 630,000 operations per second, and getting 5-10fps, assume the worst case of 5fps and divide the number of operations by 6 to find a safe number of operations that should still get you 30fps... which is 105,000 operations maximum.
Divide 105,000 by 30fps and you should have a maximum of 3500 operations per frame. With 100 objects, that's 35 operations per object, per frame, rather than the 210 you're currently doing.
You definitely need a more simplistic approach.
-John