ParStream.groupBy optimization