HI
I made a simple speed test .blend file to test & find a best way to design & optimize my code.
So far IPO is the fastest method, but unfortunately I can’t use it in this way in run-time/.exe
“”"
BGE CODE SPEED TEST
Calculating the CL values with 0.0001 degrees AOA step. 1800000 calculations
Move cursor to on 3D view.
Start the test by hiting the P-key.
wait until the ‘OBCube.tt’ shows the result.
Test PC
Operating System: Windows XP Home Edition SP3
Processor: Intel® Core™2 Quad CPU Q9300 @ 2.50GHz (4 CPUs)
Memory: 3328MB RAM
Page File: 586MB used, 4624MB available
Results
script time(sec float)
C1 ~6.5
C2 ~3.0 # IPO-bezier
C2 ~2.8 # IPO-linear
“”"
Attachments
Speed_test011.blend (121 KB)