Early exit optimization for .First? #44
-
Was reading through the README and saw: https://github.com/destel/rill?tab=readme-ov-file#order-preservation-ordered-fan-in
But this example will process ALL items, it won't break when a batch of 5 finds something? It seems in this case where you only care about the first found, and the inputs are ordered, then early exit would be far more beneficial. Or does |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@danthegoodman1 |
Beta Was this translation helpful? Give feedback.
@danthegoodman1
Thank you for the feedback.
First
returns on the first match. I have just updated the Readme and examples to clarify this. Could you please take a look and let me know if my updated explanation works?