Skip to content

Feat: chunked eval-breaker polling for range loops (#206) - #260

Merged
b-re-w merged 1 commit into
developfrom
feat/tp-chunk-poll
Oct 24, 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 24, 2026

Copy link
Copy Markdown
Member

Closes #206

ForRange runs in chunks of TP_POLL_INTERVAL and polls once per chunk; while loops keep the per-iteration countdown; break crosses the chunk loop via a label. Tests: structure (red on develop: 1 failed, 7 passed), results vs CPython across chunk boundaries and near +-2^63, KeyboardInterrupt in a long range loop. Local 3.15t full suite: 1228 passed, 3 skipped.

Interleaved, 7 pairs, load 3.2 to 3.9 (not quiet): spectral-norm 51.7x branch vs 51.0x develop, fannkuch 21.2x vs 21.7x, within noise. Benchmark compiled set identical to develop (nbody compiles nothing on both: the existing two-list-parameter FT rule, #220).

@b-re-w
b-re-w merged commit bb13a65 into develop Oct 24, 2026
@b-re-w
b-re-w deleted the feat/tp-chunk-poll branch October 24, 2026 18:36
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