Are Kotlin List Operators Efficient?

added by JavaScript Kicks
8/17/2018 7:09:46 AM

276 Views

Well, that depends on what you mean by efficient! Let's start by exploring some ways list operators (map, filter, reduce and their ilk) might work. An example: In this example, we're given a list of numbers, find the even ones, double those, then sum the whole thing.


0 comments