Repository navigation
contract + mask-risc: resolve read-mode once per population; 16-byte facet match predicate - #1326
Conversation
…projection soa_graph resolves the domain's TailVariant once per project_snapshot / nearest_anchor call instead of per row. nan_projection gains resolved entry points (project_energy_nonfinite_resolved, energy_all_finite_resolved) taking the population's ValueSchema; the mixed-batch API now resolves once per run of equal classid and delegates to them. A test-only lookup counter in classid_read_mode pins both: lookup count is independent of row count (1 vs 1000 rows). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017PWtMb9jQ4gof5g4y2jzNt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017PWtMb9jQ4gof5g4y2jzNt
|
Warning Review limit reachedYour organization has reached its usage spending cap. Adjust your spending cap in the billing tab. Next included review available in 11 minutes. View limit detailsLimit details: You’ve used all 2 included reviews currently available. Your 52 included PR review attempts over the past 7 days set your current allowance at 2 reviews per hour. Review configuration: ⚙️ Run configuration
📒 Files selected for processing (10)
Warning Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption. Comment |
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: 1a9fb0c4-999c-440b-a892-9f03b0eb4181) |
…atcher The 16-byte ternary match of a strided field, lowered to ndarray::simd::ternary_match_strided16_to_mask (ndarray #340). Validation checks the view is 16 bytes wide; the oracle compares all 16 bytes. No new IR shape; Quack is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017PWtMb9jQ4gof5g4y2jzNt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017PWtMb9jQ4gof5g4y2jzNt
Board conflicts only: LATEST_STATE keeps both 2026-10-04 sections; the entries index is regenerated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017PWtMb9jQ4gof5g4y2jzNt
Follows #1322. Metadata is resolved once per population, and the row loops do no read-mode lookup. Also exposes the 16-byte strided matcher from AdaWorldAPI/ndarray#340 (merged) as a mask-risc predicate.
Changes
soa_graph:project_snapshotandnearest_anchorresolve the domain'sTailVariantonce (domain_tail) and pass it tohhtl_path/family_of/identity_of. Before, each helper looked upclassid_read_modefor every row.nan_projection: addsproject_energy_nonfinite_resolved(rows, ValueSchema)andenergy_all_finite_resolved(rows, ValueSchema).ResolvedReading::read_mode.value_schema) and do no lookup.lance-graph-mask-risc: addsPred::MatchFacet16Strided {lane, pattern: [u8; 16], care: [u8; 16]}, lowered tondarray::simd::ternary_match_strided16_to_mask.classid_read_mode(#[cfg(test)]thread-local).D-HPS-2entry,LATEST_STATE, entries index, supersession index.Falsifiers
soa_graph, 1 for the mixed wrapper on a homogeneous batch, 0 on the resolved path.hhtl_path;MatchFacet16Stridedis checked against the oracle and an independent byte count:MatchFacet16Strideddisable runs, all red: executor on the 12-byte kernel; oracle comparing 12 bytes; width check at 12.Measured
Release build,
target-cpu=native, 100k homogeneous rows:12-byte vs 16-byte matcher, stride 512, 65,536 rows: 5.1–5.3 ns/row for both.
soa_graphwas not timed.Not in this PR
fma.rsper-node lookup and deepnsm-v2key_at. Both left OPEN.domino.rs: its boards all have classid 0, so the mixed wrapper already costs one lookup.🤖 Generated with Claude Code
https://claude.ai/code/session_017PWtMb9jQ4gof5g4y2jzNt