Repository navigation
lab(D-DR256-OD): on-demand global mask, u16 scatter, bounded reuse, L1 interference - #1791
Conversation
…catter / bounded reuse / L1 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01X6y3drwKSE2zSgoexheLFX
…1 interference Workspace-excluded lab (drf-focus-probe/examples/dr256_on_demand.rs), pre-registered in e01d388 before any run. Five arms answer the same any/count questions over the #1790 fixtures for N = 1, 2, 4, 8, 64 thoughts; all masks and answers equal a BTreeSet oracle, 0 hot-path allocations. Reuse under a witness pays from N = 2 on every fixture; rebuilding per thought reaches ms at chaotic/full density; per-thought scatter without a shared G (E) is slowest. Keeping one 8 KiB G live does not slow a resident DR64 fold (within 1.5 %, two runs); rebuilding per thought does (11.8 / 13 % on clustered). u16 removes the 1 MiB widening (9 vs 46 us at N = 1). Reusing a scattered G is forbidden by ir.rs:329-337 today; the entry records a narrow "witnessed derived population" contract proposal, not implemented. Needs ndarray mask_scatter_or_u16 (separate ndarray PR). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01X6y3drwKSE2zSgoexheLFX
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
…d-lab # Conflicts: # .claude/board/entries/README.md
Lab follow-up to #1790; it does not extend #1790. The lab lives in the workspace-excluded
drf-focus-probecrate (examples/dr256_on_demand.rs). It was pre-registered in commite01d38879before any run, and results are appended to.claude/board/entries/2026-10-26-dr256-on-demand-l1.md. No production code changed.Depends on AdaWorldAPI/ndarray#377 (
mask_scatter_or_u16). The lab crate patches ndarray to the sibling checkout.What it measures
Each thought brings its own 8 KiB global plane X and asks one of two questions over the #1790 fixtures:
any(G ∧ X)or|G ∧ X|. Five arms answer the same question, each with its preparation charged:N ∈ {1, 2, 4, 8, 64}, run twice.
Findings
anyin nanoseconds only because X is 50 % dense and the walk exits on the first hit. With an empty selection A costs 2.4–4.9 µs per thought, against D's 0.3 µs.Decisions
LaneRef::U16, read by the existingScatterOrU32/ScatterCountU32with the width resolved per tile; no new terminal. It waits for ndarray#377.ir.rs:329-337). The entry records a narrow "witnessed derived population" contract proposal for your decision: read-only folds over the same universe, a full witness (source, scope, universe, every map's id and seal, every register's selection generation), bounded to one compatible thought window, never persisted.Generated by Claude Code