{"ScriptPreparationCode":"var sorted = new Array(1000000);\r\nvar shuffled = new Array(1000000);\r\n\r\nclass Vector { \r\n\tconstructor() {\r\n this.x = 0;\r\n this.y = 0;\r\n this.z = 0;\r\n }\r\n}\r\n\r\nfor (let i=0; i\u003C1000000; i\u002B\u002B) {\r\n const obj = { position: new Vector(), scale: new Vector(), rotation: new Vector() };\r\n sorted[i] = obj;\r\n shuffled[i] = obj;\r\n}\r\n\r\nfor (let i=0; i\u003C1000000; i\u002B\u002B) {\r\n const index = Math.floor(Math.random() * 1000000);\r\n const temp = shuffled[i];\r\n shuffled[i] = temp;\r\n shuffled[index] = temp;\r\n}\r\n","TestCases":[{"Name":"Sorted","Code":"for (let i=0; i\u003C1000000; i\u002B\u002B) {\r\n\tif (sorted[i].position) {}\r\n}","IsDeferred":false},{"Name":"Shuffled","Code":"for (let i=0; i\u003C1000000; i\u002B\u002B) {\r\n\tif (shuffled[i].position) {}\r\n}","IsDeferred":false}]}