{"ScriptPreparationCode":"function addObj(out, a, b) {\r\n out[0] = a[0] \u002B b[0];\r\n out[1] = a[1] \u002B b[1];\r\n out[2] = a[2] \u002B b[2];\r\n return out;\r\n};\r\n\r\nfunction addArr(out, oo, a, b, ao,bo) {\r\n out[0\u002Boo] = a[0\u002Bao] \u002B b[0\u002Bbo];\r\n out[1\u002Boo] = a[1\u002Bao] \u002B b[1\u002Bbo];\r\n out[2\u002Boo] = a[2\u002Bao] \u002B b[2\u002Bbo];\r\n};","TestCases":[{"Name":"vec3 Arr","Code":"var A = new Float32Array(300);\r\nvar B = new Float32Array(300);\r\nvar O = new Float32Array(300);\r\nfor (var i = 0;i \u003C 1000;\u002B\u002Bi) {\r\n for (var j=0;j\u003C 100;\u002B\u002Bj) {\r\n addArr(O,j*3,A,B,j*3,j*3);\r\n }\r\n}","IsDeferred":false},{"Name":"vec3 obj","Code":"var A = [];\r\nvar B = [];\r\nvar O = [];\r\n\r\nfor (var x=0;x\u003C100;\u002B\u002Bx) {\r\n A.push(new Float32Array(3));\r\n B.push(new Float32Array(3));\r\n O.push(new Float32Array(3));\r\n}\r\n\r\nfor (var i = 0;i \u003C 1000;\u002B\u002Bi) {\r\n for (var j=0;j\u003C 100;\u002B\u002Bj) {\r\n addObj(O[j],A[j],B[j]);\r\n }\r\n}","IsDeferred":false}]}