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

[benchmark] add conway's game of life #359

Merged
merged 2 commits into from
Jan 31, 2025

Conversation

gerardogtn
Copy link
Contributor

This benchmark models Conway's Game of Life, provided two inputs n and seed and runs in two stages:

  • First it generates a random nxn matrix, random numbers are generated using LCG with the seed input and prints it.
  • Produces the next matrix according to the rules of Conway's Game of Life, and prints it.

@sampsyo
Copy link
Owner

sampsyo commented Jan 31, 2025

Wow; this is snazzy! Nice work. 😃

@sampsyo sampsyo merged commit e8de599 into sampsyo:main Jan 31, 2025
5 checks passed
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