← Back to Pull requests

Use NEON for short RowContainer string copies on AArch64 #137

Closed
unknown closed this pull request without merging on Nov 23, 2026 09:47 UTC
View on GitHub
unknown unknown commented on Nov 20, 2026 03:50 UTC
Author

On AArch64, copy contiguous string payloads of 8–15 or 16–32 bytes with a pair of 64- or 128-bit NEON loads and stores. The two accesses start at the first and last vector-sized slices of the string. This preserves the exact input/output bounds. In the batch extractor these sizes cover short non-inline strings. Fragmented strings continue through the existing stream reader.

The extraction test exercises 15/16/17 and 31/32/33-byte boundaries using nonuniform bytes, embedded zeros, nulls, offsets, selections and output ownership.

Vera SF1000 results

The reference for these timings was the six-PR package previously tested against the development branch. Each suite ran twice per arm in reverse order, with identical allocator settings and 42 executors. A positive value is less summed query time.

| Suite | Six PRs | Six PRs plus this change | Time saved | Pair 1 | Pair 2 |
|---|---:|---:|---:|---:|---:|
| NDS | 119.72 s | 118.73 s | +0.82% | +1.21% | +0.42% |
| NDS-H | 62.06 s | 62.05 s | +0.02% | +2.29% | -2.33% |

All 508 query outputs matched their references. The PGO-trained RowContainer object passed all seven RowContainerBatchStringTest cases on Vera. The short-copy differential test matched libc in 133,120 length/alignment combinations. At the real extractColumn entry point, the 13–32-byte case saved 13.23% and the 13–48-byte case saved 0.74%. Both batch string extraction and string extraction prefetch were enabled.

The two NDS pairs both improved. NDS-H reversed direction between pairs. The standalone development-branch delta has not been measured. The benchmark launcher used MALLOC_CONF=background_thread:true,narenas:8,dirty_decay_ms:1000,muzzy_decay_ms:1000 in both arms.

Full A/B and query-level data · Profile and operator measurements

Diff: 274 lines (+205 / -69) across 3 files Reviewer: thirtiseven Review duration: 4676m
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.40) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 274 lines diff across 3 files
0.40
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
56%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.336
Shallow Review Depth shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #137"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 56.8% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 39.5% (MEDIUM) · Higher = larger blast radius
39.5%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 56.8% · Lower = rushed or shallow review
56.8%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 17.1% · Safe to merge
17.1%