{"ScriptPreparationCode":"var rnd = Math.random;\r\nvar branchlessMin = (a, b) =\u003E (a \u003E b) * b \u002B (a \u003C= b) * a;\r\nvar mathMin = Math.min;\r\nvar minTernary = (a, b) =\u003E a \u003E b ? b : a;\r\nvar minIf = (a, b) =\u003E {\r\n if (a \u003E b) {\r\n return b;\r\n } else {\r\n return a;\r\n };\r\n};","TestCases":[{"Name":"branchless","Code":"return branchlessMin(rnd(), rnd());","IsDeferred":false},{"Name":"Math.min (cached)","Code":"return mathMin(rnd(), rnd());","IsDeferred":false},{"Name":"Math.min (uncached)","Code":"return Math.min(rnd(), rnd());","IsDeferred":false},{"Name":"Min w/ Ternary","Code":"return minTernary(rnd(), rnd())","IsDeferred":false},{"Name":"Min w/ If","Code":"return minIf(rnd(), rnd())","IsDeferred":false}]}