{"ScriptPreparationCode":"var createSelector = (deps, select) =\u003E {\r\n return (state) =\u003E {\r\n /* gives roughly 3mln ops/sec\r\n const results = new Array(deps.length)\r\n for (let i = 0; i \u003C deps.length; \u002B\u002Bi) {\r\n results[i] = deps[i](state)\r\n }*/\r\n const results = deps.map(dep =\u003E dep(state))\r\n return select.apply(null, results)\r\n }\r\n}\r\n\r\nvar rootSelector = (state) =\u003E state.root\r\n\r\nvar memoSelector = Reselect.createSelector(\r\n [rootSelector],\r\n (root) =\u003E root.a\r\n);\r\n\r\nvar plainSelector = state =\u003E rootSelector(state).a\r\n\r\nvar customSelector = createSelector(\r\n [rootSelector],\r\n (root) =\u003E root.a\r\n);\r\n","TestCases":[{"Name":"reselect","Code":"memoSelector({ root: { a: \u0027test\u0027 } })","IsDeferred":false},{"Name":"plain","Code":"plainSelector({ root: { a: \u0027test\u0027 } })","IsDeferred":false},{"Name":"custom","Code":"customSelector({ root: { a: \u0027test\u0027 } })","IsDeferred":false}]}