Skip to content

Multithread calc tables#187

Open
tameware wants to merge 2 commits into
dds-bridge:developfrom
tameware:multithread-calc_tables
Open

Multithread calc tables#187
tameware wants to merge 2 commits into
dds-bridge:developfrom
tameware:multithread-calc_tables

Conversation

@tameware

Copy link
Copy Markdown
Contributor

No description provided.

tameware added 2 commits June 12, 2026 21:08
…orker gets a persistent SolverContext and pulls boards from a shared queue. While still 50% slower than v 2.9, this produces a roughly 30% wall-clock improvement when solving 100 deals, e.g., ./bazel-bin/library/tests/dtest -f hands/list100.txt -s cal
@tameware tameware marked this pull request as ready for review June 13, 2026 02:39
Comment thread library/src/calc_tables.cpp
@zzcgumn

zzcgumn commented Jun 13, 2026

Copy link
Copy Markdown
Collaborator

Maybe I am misreading these changes, but I think the calc tables are still single threaded. Looks to me like the parallel execution is solving several boards in parallel.

@tameware

Copy link
Copy Markdown
Contributor Author

Maybe I am misreading these changes, but I think the calc tables are still single threaded. Looks to me like the parallel execution is solving several boards in parallel.

You are correct. I know of no way to parallelize the solving of a single deal with a given dealer and vulnerability. Where can I add a comment to make this clearer?

@tameware tameware left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments addressed.

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