Torque Script SDK Array implementation
by Hardi Bhatt · in Site Feedback · 05/03/2007 (4:49 pm) · 0 replies
I have developed the implementation and use of Arrays in the TS SDK but i done know where the post the finished results. Some of my test results while testing the finished implementations were.
For 1d Arrays of an array size of 125,000
1.5s for the Torque Script symbol table version (Globals ($) and Locals (%))
6.3s for the Torque Script script object version
1.6s for the array implemented version (My version)
For 2D Arrays of an array size 250,000 (500x500)
4.5s for the Torque Script symbol table version (Globals ($) and Locals (%))
42.5s for the Torque Script script object version
4.7s for the array implemented version (My version)
For 3D Array of an array size of 125,000 (50x50x50)
2.9s for the Torque Script symbol table version
11.0s for the Torque Script script object version
2.9s for the array implemented version
I chose to go back to 125000 for the 3D version was because the ScriptObject version was simply taking too long.
For 1d Arrays of an array size of 125,000
1.5s for the Torque Script symbol table version (Globals ($) and Locals (%))
6.3s for the Torque Script script object version
1.6s for the array implemented version (My version)
For 2D Arrays of an array size 250,000 (500x500)
4.5s for the Torque Script symbol table version (Globals ($) and Locals (%))
42.5s for the Torque Script script object version
4.7s for the array implemented version (My version)
For 3D Array of an array size of 125,000 (50x50x50)
2.9s for the Torque Script symbol table version
11.0s for the Torque Script script object version
2.9s for the array implemented version
I chose to go back to 125000 for the 3D version was because the ScriptObject version was simply taking too long.
About the author