{"ScriptPreparationCode":"function generateDataset(limit) {\r\n let result = new Uint8Array(limit);\r\n for (let i = 0; i \u003C limit; i\u002B\u002B) {\r\n result[i] = i;\r\n }\r\n return result;\r\n}\r\n\r\nfunction decodeFrom(src, ptr) {\r\n\treturn ((src[ptr] \u003C\u003C 24) | (src[ptr \u002B 1] \u003C\u003C 16) | (src[ptr \u002B 2] \u003C\u003C 8) | src[ptr \u002B 3]) \u003E\u003E\u003E 0;\r\n}\r\n\r\nvar time = 200;\r\nvar limit = 1000000;\r\nvar dataset = generateDataset(limit);\r\nvar view = new DataView(dataset.buffer);","TestCases":[{"Name":"Dataview","Code":"for (let i = 0; i \u003C limit; i \u002B= 4) {\r\n view.getUint32(i)\r\n}","IsDeferred":false},{"Name":"Custom","Code":"for (let i = 0; i \u003C limit; i \u002B= 4) {\r\n decodeFrom(dataset, i)\r\n}","IsDeferred":false}]}