{"ScriptPreparationCode":"var continuous = [];\r\nvar sparse = [];\r\nvar C = 900000;\r\nfor(var i=0; i\u003CC; \u002B\u002Bi){\r\n continuous.push(C-i);\r\n}\r\nfor(var i=0; i\u003CC; \u002B\u002Bi){\r\n sparse[i * 2] = C - i;\r\n}","TestCases":[{"Name":"continuous reduce","Code":"var total = continuous.reduce(function(acc, cur){\r\n return acc \u002B cur;\r\n});","IsDeferred":false},{"Name":"sparse reduce","Code":"var total = sparse.reduce(function(acc, cur){\r\n return acc \u002B cur;\r\n});","IsDeferred":false},{"Name":"continuous update","Code":"continuous.forEach(function(cur, i, arr){\r\n arr[i] \u002B= 100;\r\n});","IsDeferred":false},{"Name":"sparse update","Code":"sparse.forEach(function(cur, i, arr){\r\n arr[i] \u002B= 100;\r\n});","IsDeferred":false}]}