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

Use symmetry #2

Open
porglezomp opened this issue Dec 31, 2018 · 0 comments
Open

Use symmetry #2

porglezomp opened this issue Dec 31, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@porglezomp
Copy link
Contributor

We're working with a 5x5 grid, so we've got lots of symmetry we could take advantage of:

  • Horizontal/vertical reflections
  • 90º rotations

Depending on how the patterns collide, this could cut down the total size of the cache by 2x, 4x, 8x even.

Implementation ideas:
Have some system for deciding which orientation of a board is canonical (the numerically lowest one?) and only store that one, transforming all boards into canonical form before they're handled.

@porglezomp porglezomp added the enhancement New feature or request label Dec 31, 2018
@porglezomp porglezomp self-assigned this Dec 31, 2018
@porglezomp porglezomp mentioned this issue Dec 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant