{"ScriptPreparationCode":"var ids = Array.from({ length: 10000 }, (_, index) =\u003E index \u002B 1)\r\nvar isPositive = i =\u003E i % 2 === 0","TestCases":[{"Name":"Array(map \u002B filter)","Code":"ids.map(R.identity).filter(isPositive).map(R.inc)","IsDeferred":false},{"Name":"ramda(map \u002B filter)","Code":"R.pipe(\r\n R.map(R.identity),\r\n R.filter(isPositive),\r\n R.map(R.inc)\r\n)(ids)","IsDeferred":false},{"Name":"ramda-transducer(map \u002B filter)","Code":"const transform = R.pipe(\r\n R.map(R.identity),\r\n R.filter(isPositive),\r\n R.map(R.inc)\r\n)\r\n\r\nR.transduce(\r\n transform,\r\n (acc, item) =\u003E { acc.push(item); return acc; },\r\n [],\r\n ids,\r\n);","IsDeferred":false},{"Name":"Array(combined map reduce)","Code":"ids.reduce((acc, item) =\u003E {\r\n const identity = R.identity(item)\r\n\r\n if (!isPositive(identity)) return acc\r\n\r\n acc.push(R.inc(identity))\r\n\r\n return acc\r\n}, [])","IsDeferred":false}]}