mmaillot
09/08/2017, 9:14 AMforEach
and populate MutableList
and recursive function with List
? The first seems most efficient but the second one respect immutable principle of functional programming.karelpeeters
09/08/2017, 9:15 AMkarelpeeters
09/08/2017, 9:16 AMmap
, flatMap
and friends for that.elect
09/08/2017, 9:16 AMforEach
and the spread operator were the only two performances criticalelect
09/08/2017, 9:17 AMmmaillot
09/11/2017, 7:48 AM