Nikita Khlebushkin
10/02/2018, 9:34 AMasSequence
before `filter`s and `map`s?karelpeeters
10/02/2018, 9:37 AMNikita Khlebushkin
10/02/2018, 9:38 AMuhe
10/02/2018, 11:11 AMnil2l
10/02/2018, 11:36 AMasSequence
https://proandroiddev.com/sequences-a-pragmatic-approach-9d4296086a9dSam
10/02/2018, 12:59 PMnil2l
10/02/2018, 1:02 PM(0..6000000).toList().find { it < 100 }
(about 3 seconds)
and this:
(0..6000000).asSequence().find { it < 100 }
(a moment, asSequence is not needed here though)adam-mcneilly
10/02/2018, 1:11 PM