perf(blocksort): replace legacy quicksort with pure safe Rust DivSufSort #144
All Vouch review confidence checks passed
Residual risk 0.34 = Change Risk (0.59) × (1 − Review Confidence (0.42)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.59 · 295 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 10%
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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.340
No Reviewer Assigned
no_reviewer_assigned
0.120
Real PR Conversation Timeline
1 comments
"Review active on #144"
general
weight: 0.35
gheffern
Replaces Julian Seward's 1996 ternary quicksort (mainSort) and fallback Larsson-Sadakane suffix sort (fallbackSort) with a clean 288-line Two-Stage Induced Suffix Sorting (DivSufSort) engine.
Key Highlights:
Benchmark Results (5-Iteration Interleaved A/B Benchmark):
- nci (Chemical DB): +47.1% (15.04 -> 22.12 MB/s)
- xml (Structured Markup): +44.8% (16.53 -> 23.93 MB/s)
- webster (ASCII Text): +28.9% (20.28 -> 26.15 MB/s)
- osdb (Database Binary): +16.1% (22.96 -> 26.65 MB/s)
- samba (C Source Code): +15.3% (23.70 -> 27.33 MB/s)
- mozilla (Executable Tar):+11.8% (23.14 -> 25.86 MB/s)
- dickens (English Text): +11.6% (21.18 -> 23.63 MB/s)
- ooffice (x86 Binary): +8.8% (22.16 -> 24.12 MB/s)
- reymont (PDF Document): +7.0% (22.63 -> 24.21 MB/s)
- sao (Binary Catalog): +5.6% (18.05 -> 19.05 MB/s)
- x-ray (16-bit Sensor): -5.1% (20.55 -> 19.51 MB/s)
- mr (16-bit MRI Scan): -10.5% (29.89 -> 26.75 MB/s)
- Compression Throughput: +2.3% (77.12 -> 78.91 MB/s)
- Decompression Throughput: +5.5% (154.55 -> 163.02 MB/s)
Test Suite & Verification:
Code development and benchmarking harness execution for this PR were assisted by Gemini 3.8 Flash; all changes and results were reviewed by the author prior to submission.