This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Compare performance and semantics: partitioningBy guarantees two keys and is optimized for binary splits, while groupingBy handles arbitrary keys.
You've completed the free preview. Subscribe to unlock every lesson in every course.