Setting aside the performance question entirely, the decision to use unit functions like this is also a win for the API shape itself. If you call something, it's part of the composition. You can use normal looping and control flow constructs without requiring people to use functional map/filter/etc. as the only option
05/23/2019, 6:37 PM
map and filter are normal loops
05/23/2019, 7:55 PM
It doesn't seem normal language constructs are restricted here.