Comment Comment by marmart Those intermediate iterations could be dropped by composing the map functions together (same with the reduce), if that really was a performance bottleneck. parent marmart 9 years ago