Skip to content

2023 Day 2: Cube Conundrum #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 3, 2023
Merged

2023 Day 2: Cube Conundrum #18

merged 1 commit into from
Dec 3, 2023

Conversation

shadeon
Copy link
Owner

@shadeon shadeon commented Dec 3, 2023

Not a lot to say on this one today, as usual for AoC Linq came in especially handy for solving much of this. The Aggregate at the heart of parseHands isn't particularly efficient as it's using with, but Handful is a struct so they aren't being allocated on the heap. Runs quickly enough and there are neither enough games or enough cube counts for it to be a realistic problem.

I thought there was going to be a stricter criteria between part 1 and part 2, but it seems that never came to pass!

@shadeon shadeon self-assigned this Dec 3, 2023
@shadeon shadeon merged commit ca8058a into main Dec 3, 2023
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.

1 participant