{"ScriptPreparationCode":"var map = new Map();\r\nvar obj = {};\r\nvar i = 0, count = 1000, a;\r\n\r\nfunction getOnMap(uid) {\r\n if (map.has(uid)) {\r\n return map.get(uid);\r\n }\r\n let storage = {};\r\n map.set(uid, storage);\r\n return storage;\r\n}\r\n\r\nfunction getOnObj(uid) {\r\n let storage = obj[uid];\r\n if (!storage) {\r\n storage = obj[uid] = {};\r\n }\r\n return storage;\r\n}","TestCases":[{"Name":"Map operations","Code":"for (i = 0; i \u003C count; i\u002B\u002B) {\r\n a = getOnMap(i);\r\n map.delete(i);\r\n}","IsDeferred":false},{"Name":"Obj operations","Code":"for (i = 0; i \u003C count; i\u002B\u002B) {\r\n a = getOnObj(i);\r\n delete obj[i];\r\n}","IsDeferred":false}]}