{"ScriptPreparationCode":"var objects = [];\r\nfor(let i = 0; i \u003C 100; i\u002B\u002B) {\r\n objects.push({ id: i, x: 0, y: -100, str: \u0022Test\u0022 });\r\n}\r\n\r\nvar arr = [];\r\nvar set = new Set();","TestCases":[{"Name":"Set\u003Cobject\u003E","Code":"for(let i = 0; i \u003C 50; i\u002B\u002B) {\r\n set.add(objects[i]);\r\n}\r\nfor(let i = 0; i \u003C 100; i\u002B\u002B) {\r\n const x = set.has(objects[i]);\r\n}\r\nfor(let i = 0; i \u003C 100; i\u002B\u002B) {\r\n set.delete(objects[i]);\r\n}","IsDeferred":false},{"Name":"Array\u003Cobject\u003E","Code":"for(let i = 0; i \u003C 50; i\u002B\u002B) {\r\n const obj = objects[i];\r\n arr[obj.id] = obj;\r\n}\r\nfor(let i = 0; i \u003C 100; i\u002B\u002B) {\r\n const x = objects[i].id in arr;\r\n}\r\nfor(let i = 0; i \u003C 100; i\u002B\u002B) {\r\n delete arr[objects[i].id];\r\n}","IsDeferred":false}]}