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

[enhancement] History can persist between runs #6

Open
InnovativeInventor opened this issue Oct 17, 2021 · 0 comments
Open

[enhancement] History can persist between runs #6

InnovativeInventor opened this issue Oct 17, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@InnovativeInventor
Copy link
Owner

node-kayles/src/main.rs

Lines 207 to 208 in 6cca4ec

let mut history: HashMap<u64, usize, U64Hasher> =
HashMap::with_capacity_and_hasher(50000000, U64Hasher::new());
This should be moved out and put in the main function and passed to the run function, so states are not recalculated unnecessarily.

@InnovativeInventor InnovativeInventor added the enhancement New feature or request label Oct 17, 2021
@InnovativeInventor InnovativeInventor changed the title [enhancement] History can be persist between runs [enhancement] History can persist between runs Nov 10, 2021
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