Skip to content
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

Day 20 part 2 #12

Merged
merged 7 commits into from
Aug 2, 2024
Merged

Day 20 part 2 #12

merged 7 commits into from
Aug 2, 2024

Conversation

nikobockerman
Copy link
Owner

No description provided.

This approach is too slow, especially in single-thread.
Findings:
- All patterns seem to start at 0 index
- All patterns seem to have length of 2**X
Converted previous logic to one where the pattern detection is
performed via isolated tasks.

Learnings:
- Conjuctions are difficult to find pattern with the current formula
  as their internal state is more complex than for flip flops
Used parallelized processing for pattern detection. Speeds up
analysis quite a bit, but not enough.

Learnings:
- Finding patterns this way is quite unfruitful. Different strategy
  is necessary.
@nikobockerman nikobockerman merged commit 663aef7 into main Aug 2, 2024
1 check passed
@nikobockerman nikobockerman deleted the d20-2 branch August 2, 2024 15:58
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