{"ScriptPreparationCode":"\r\n\r\nlet i = 0","TestCases":[{"Name":"split then equality","Code":"const iterations = 10000;\r\nconst str = \u0022int var = 1000;\u0022\r\nconst firstWord = str.split(\u0022 \u0022)[0]\r\nlet acc = \u0022\u0022\r\nfor(let i = 0; i \u003C iterations; i\u002B\u002B){\r\n\r\n switch(firstWord){\r\n case \u0022int\u0022: \r\n \r\n break\r\n case \u0022float\u0022: \r\n\r\n break\r\n case \u0022//\u0022: \r\n\r\n break\r\n case \u0022uniform\u0022: \r\n\r\n break\r\n case \u0022attribute\u0022: \r\n\r\n break\r\n case \u0022struct\u0022: \r\n\r\n break\r\n default:\r\n\r\n break\r\n }\r\n\r\n}","IsDeferred":false},{"Name":"check each time","Code":"const iterations = 10000;\r\nconst str = \u0022int var = 1000;\u0022\r\nlet acc = \u0022\u0022\r\nfor(let i = 0; i \u003C iterations; i\u002B\u002B){\r\n if(str.startsWith(\u0022int\u0022)){\r\n \r\n } else if(str.startsWith(\u0022float\u0022)){\r\n \r\n }else if(str.startsWith(\u0022//\u0022)){\r\n \r\n }else if(str.startsWith(\u0022uniform\u0022)){\r\n \r\n }else if(str.startsWith(\u0022attribute\u0022)){\r\n \r\n }else if(str.startsWith(\u0022struct\u0022)){\r\n \r\n }else if(str.startsWith(\u0022//\u0022)){\r\n \r\n }else {\r\n\r\n }\r\n\r\n}","IsDeferred":false}]}