collection icon indicating copy to clipboard operation
collection copied to clipboard

Provide faster implementation for whereNotNull

Open mraleph opened this issue 2 years ago • 2 comments

Replace sync* with handwritten implementation for now. We can undo the change if sync* becomes as fast as handwritten code.

Closes #273

mraleph avatar Mar 21 '23 22:03 mraleph

Ping @lrhn for a review.

@mraleph - can you add a changelog entry for this change (and rev the pubspec version if necessary)?

devoncarew avatar May 08 '23 22:05 devoncarew

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.

lrhn avatar May 23 '23 12:05 lrhn