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

Thread reuse #496

Open
3 tasks
bftjoe opened this issue Dec 16, 2024 · 0 comments
Open
3 tasks

Thread reuse #496

bftjoe opened this issue Dec 16, 2024 · 0 comments

Comments

@bftjoe
Copy link
Contributor

bftjoe commented Dec 16, 2024

Currently, new threads are created for every search. To reduce operating system overhead, it is better to reuse threads by pausing and later resuming them. I am planning on implementing this soon.

Additionally, small memory savings can be had by using the same stop variable for all threads.

  • Use the same stop variable for all threads
  • Reuse threads
  • examine types and reduce their width when possible
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

No branches or pull requests

1 participant