Use NEON for short RowContainer string copies on AArch64 #137
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
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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
thirtiseven
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:1000in both arms.Full A/B and query-level data · Profile and operator measurements