Skip to content

Conversation

@jonmeow
Copy link
Contributor

@jonmeow jonmeow commented Nov 18, 2025

The to_array was mainly needed for zip_equal, and the GetBlockAsTypeInstIds is forming a vector that should also be size two. But just writing this out should avoid memory allocations.

Of course, then I'm like "but maybe a lambda or function would be clearer than a for loop"... So the second commit.

@jonmeow jonmeow requested a review from a team as a code owner November 18, 2025 18:59
@jonmeow jonmeow requested review from geoffromer and removed request for a team November 18, 2025 18:59
@geoffromer geoffromer enabled auto-merge November 18, 2025 19:05
@geoffromer geoffromer added this pull request to the merge queue Nov 18, 2025
Merged via the queue into carbon-language:trunk with commit ee49d65 Nov 18, 2025
9 checks passed
@jonmeow jonmeow deleted the drop-zip branch November 18, 2025 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants