Inline internal iterators in mapReduceTriplets
Docs