RxSwiftCommunity / RxSwiftExt

A collection of Rx operators & tools not found in the core RxSwift distribution
MIT License
1.32k stars 213 forks source link

distinct: use filter instead of flatMap #trivial #253

Closed hoc081098 closed 3 years ago

hoc081098 commented 3 years ago

I think we can replace flatMap by compactMap for better performance in distinct.swift, without adding anything to the Changelog.