collection
collection copied to clipboard
Provide faster implementation for whereNotNull
Replace sync* with handwritten implementation for now. We can undo the change if sync* becomes as fast as handwritten code.
Closes #273
Ping @lrhn for a review.
@mraleph - can you add a changelog entry for this change (and rev the pubspec version if necessary)?
We now have .nonNulls getter in the platform libraries which does the same thing.
We should optimize that if necessary, and make collection just forward to the platform library version when we upgrade to requiring SDK 3.0.