voddan
12/20/2017, 4:17 PMmap
, filter
, etc)? I remember some discussions going, but I can't find the issue.voddan
12/20/2017, 4:30 PMloop fusion
. But I still can't find an issue or a forum discussionvoddan
12/20/2017, 4:45 PMilya.gorbunov
12/20/2017, 5:39 PMilya.gorbunov
12/20/2017, 5:41 PMcoll.asSequence().map{...}.filter{...}.toList()
could be fused as it won't change the order of operations.voddan
12/20/2017, 7:02 PMcoll.map{}.filter{}
by re-useing the intermediate list that they create. I am running some benchmarks now, but preliminary results show 30% reduction in allocated memory, and this is for relatively uncomplicated examples.dmitry.petrov
12/21/2017, 5:34 AMdmitry.petrov
12/21/2017, 5:41 AMvoddan
12/21/2017, 7:04 AMdmitry.petrov
12/21/2017, 2:48 PMvoddan
12/24/2017, 8:47 PM