{"ScriptPreparationCode":"const N = 1000000;\r\n\r\nclass Tuple {\r\n first;\r\n second;\r\n constructor(first, second) {\r\n this.first = first;\r\n this.second = second;\r\n }\r\n}\r\n\r\nfunction createArrayTuple(first, second) {\r\n return [first, second];\r\n}\r\n\r\nfunction createObjectTuple(first, second) {\r\n return { first, second };\r\n}","TestCases":[{"Name":"Array","Code":"const xs = [];\r\n\r\nfor (let i = 0; i \u003C N; i\u002B\u002B) {\r\n xs.push(createArrayTuple(i, 0));\r\n}","IsDeferred":false},{"Name":"Object","Code":"const xs = [];\r\n\r\nfor (let i = 0; i \u003C N; i\u002B\u002B) {\r\n xs.push(createObjectTuple(i, 0));\r\n}","IsDeferred":false},{"Name":"Class","Code":"const xs = [];\r\n\r\nfor (let i = 0; i \u003C N; i\u002B\u002B) {\r\n xs.push(new Tuple(i, 0));\r\n}","IsDeferred":false}]}