{"ScriptPreparationCode":"var makeCondition1 = (name, value) =\u003E {\r\n return (context) =\u003E {\r\n var result = context \u002B name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n return result;\r\n };\r\n}\r\n\r\nvar conditionHandler = (context, name, value) =\u003E {\r\n var result = context \u002B name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n result \u002B= name \u002B value;\r\n return result;\r\n};\r\n\r\nvar makeCondition2 = (name, value) =\u003E {\r\n return (context) =\u003E conditionHandler(context, name, value);\r\n}\r\n\r\nvar condition1 = makeCondition1(1, 2);\r\nvar condition2 = makeCondition2(1, 2);","TestCases":[{"Name":"Make condition long","Code":"for(let i = 0; i \u003C 1000; i\u002B\u002B) makeCondition1(1, 2);","IsDeferred":false},{"Name":"Make condition shared","Code":"for(let i = 0; i \u003C 1000; i\u002B\u002B) makeCondition2(1, 2);","IsDeferred":false},{"Name":"Calculate condition long","Code":"condition1(10);","IsDeferred":false},{"Name":"Calculate condition shared","Code":"condition2(10);","IsDeferred":false}]}