shusek
08/08/2018, 12:10 PMdiego-gomez-olvera
08/08/2018, 12:19 PMdiego-gomez-olvera
08/08/2018, 12:23 PMfilter performs a new allocation, so it is not really minimizing the memory footprint anywayshho
08/08/2018, 12:30 PMIntArray.filter {…} line up nicely with Collection.filter {…}).
If you want an IntArray out, you'll have to call .toIntArray() on the resulting list – and yes, this will make another copy of the data.shusek
08/08/2018, 12:58 PM