4 ms·
If you call reduce on it twice, then sure, it would do all the work twice.
by mquander 14y ago
If you call reduce on it twice, then sure, it would do all the work twice.
- loumf 14y agoJules's point is that the map is done twice, which it is. If you don't want that, you can reduce into a collection and then reduce the collection twice.
- deleted 14y ago[deleted]