Prefer Google Highway native SIMD by default #751
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 314 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.344
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #751"
general
weight: 0.35
r-devulap
Summary
Prefer Google Highway native SIMD by default on supported Linux x86-64/AArch64 systems running Java 22+ with the Vector API enabled. Existing Java fallbacks remain available. Closes #750.
Compatibility
-Djvector.enable_native_vectorization=false. The deprecated experimental alias remains supported; the new property wins. Explicit provider selection takes precedence over both.MemorySegmentVectorFloat. UseVectorFloatandFloatArray.array()instead of concrete array casts.copyFromsupports both built-in storage types; native arithmetic still requires provider-created vectors.Kernel implementations and ISA dispatch are unchanged by this PR. #753's additional kernels are already merged into main.
Validation
All four checks passed on the remote Linux x86-64 server with
c0095f06combined with main8c33f97a. Native tests used the rebuilt library.| Check | Result |
| --- | --- |
| Java 22 provider, numeric, and storage tests | 33 passed, 2 skipped |
| Java 25 full native reactor tests | 465 passed, 5 skipped |
| Java 17 / Java 11-compatible profile tests | 13 passed, 16 skipped |
| Java 25 packaging, Javadoc, and license checks | Passed |
Performance
A separate study compared integrated Highway improvements (
4e7d397c) with the Panama candidate from #755 on an Intel Xeon 6985P-C. Highway had higher observed QPS in all 32 comparisons across four million-vector datasets, JDK 22/25, 1/8 query threads, and overquery factors 1/2.| Dataset | JDK 22 QPS gain | JDK 25 QPS gain |
| --- | ---: | ---: |
| MPNet | +51–84% | +38–54% |
| Ada002 | +49–91% | +14–60% |
| Cohere | +37–105% | +19–46% |
| OpenAI3072 | +17–49% | +6–46% |
Ranges cover the four thread/overquery combinations. Total build-process time decreased by approximately 4–36% in seven of eight cases; Cohere/JDK 22 increased by 8%.
The study includes Highway improvements outside #751 and does not isolate the default switch. Graphs/codebooks were built independently, recall was not matched, and timing variation remains.