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

more hashmaps and less arrays #43

Open
michaeljb opened this issue Jun 1, 2022 · 1 comment
Open

more hashmaps and less arrays #43

michaeljb opened this issue Jun 1, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@michaeljb
Copy link
Owner

lots of stuff like looking through lists of stops or all the hexes on the map or all the tiles in the game to find/delete/etc the match in O(N) time, should do some profiling and see if using more Hashes helps performance

@michaeljb michaeljb added the enhancement New feature or request label Jun 1, 2022
@michaeljb
Copy link
Owner Author

TileTray class could implement an interface to match the currently expected Array interface for a game's @tiles while internally using hash

@michaeljb michaeljb changed the title more hashmaps and less lists more hashmaps and less arrays Jun 20, 2024
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