Skip to content

chore(recipe): use collect pattern when possible#414

Closed
jaudiger wants to merge 1 commit intomainfrom
extent-pattern-2
Closed

chore(recipe): use collect pattern when possible#414
jaudiger wants to merge 1 commit intomainfrom
extent-pattern-2

Conversation

@jaudiger
Copy link
Contributor

Similar to #413, but around collect pattern.

@jaudiger jaudiger requested a review from kylewlacy January 27, 2026 19:50
@jaudiger jaudiger self-assigned this Jan 27, 2026
Signed-off-by: Jérémy Audiger <jeremy.audiger@icloud.com>
Copy link
Member

@kylewlacy kylewlacy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my opinion, this change makes the code harder to read and the intent less clear. Unlike the other PRs, I don't think this could lead to being any better for preallocation either, so I don't feel it makes sense to move forward with this change

@kylewlacy kylewlacy closed this Jan 29, 2026
@jaudiger jaudiger deleted the extent-pattern-2 branch January 30, 2026 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants