Skip to content

Fix: chunked range loops poll once per chunk (#280) - #284

Merged
b-re-w merged 1 commit into
developfrom
feat/tp-chunk-poll
Oct 25, 2026
Merged

b-re-w merged 1 commit into
developfrom
feat/tp-chunk-poll

Conversation

@b-re-w

@b-re-w b-re-w commented Oct 25, 2026

Copy link
Copy Markdown
Member

The #206 chunk loop ran TP_POLL_INTERVAL iterations and then a countdown poll, so tp_poll_slow ran every 4096*4096 iterations. Now the slow poll runs once per chunk. Red: a SIGALRM KeyboardInterrupt arrived only after a 12M-iteration loop finished. Benchmarks' compiled set unchanged.

Closes #280

@b-re-w
b-re-w merged commit a7ecf81 into develop Oct 25, 2026
@b-re-w
b-re-w deleted the feat/tp-chunk-poll branch October 25, 2026 00:47
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.

1 participant