aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-05-26 18:45:39 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2025-05-26 18:45:39 +0200
commit243a852d31483d10983c50978d1d4471efd0e553 (patch)
tree24610c4e17188bc9449229ae2869cf838b46f5f3 /doc
parentfa0fa1fcb494483020a736a2bc2c5c639a2bd870 (diff)
downloadnissy-core-243a852d31483d10983c50978d1d4471efd0e553.tar.gz
nissy-core-243a852d31483d10983c50978d1d4471efd0e553.zip
Avoid pausing for logging only if poll_status() is null (h48 solver).
This is a small amendment to c6a77f30f64be73a5e55e06336975f2ecfbb2324, which changed the way we log solutions while the h48 solver is running. With the method recently introduced, the main thread checks for solutions to log every 0.5 seconds, resulting in a possible slowdown of at most 0.5s per solve. The solutions are also logged when all worker threads are completed. With this new method, when the poll_status() callback function is NULL, which likely means nissy is not run interactively, we rely only on the final log on completion of the worker threads. This means less frequent logging, but at no performance cost.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions

Generated with cgit - Back to sebastiano.tronto.net