GMP remainder-state benchmark summary

Validation: complete expected fixture grid, unique variant/round rows,
>=1 ms batches, and one consistent checksum per fixture within each run.
Each checksum covers all live output limbs, signed size and exponent.
Different seeds may produce different checksums across runs.

states-run4.csv: 73 cases x 6 variants x 15 rounds = 6570 validated timing rows
states-run5.csv: 73 cases x 6 variants x 15 rounds = 6570 validated timing rows

Study note: Final runs 4 and 5 use one shared output buffer per case. Exploratory runs 2 and 3 used separate variant buffers; their apparent large split-path advantage and some control regressions changed after switching to a shared allocation. Those exploratory timings are not pooled here.

Timing convention: each per-run time is the median over its rounds.
The selected table uses the median of those per-run medians; its ratio
ranges show separate per-run ratios. These are not confidence intervals.
C/F = Claude / fixed; S/F = stock / fixed; F/Split = fixed / split.
A ratio above one means the denominator implementation was faster.
The selected fixed candidate uses one conditional fill expression; split
has separate zero-fill and repeated-limb paths. No overall average is taken.
These diagnostic inputs establish conditional performance, not workload hit rates.

Selected short-dividend cases (nanoseconds per call)
 v  limbs       stock      Claude       fixed       split    C/F      S/F   C/F run range    S/F run range    F/Split run range
 8     24      82.626      64.072      15.422      15.812  4.154    5.358     4.149..4.160      5.341..5.374        0.966..0.985
 8   1024    3427.735     600.830     112.549     106.415  5.338   30.456     5.314..5.363    30.067..30.849        1.054..1.061
 8  16384   54984.375    8181.641    1459.961    1467.285  5.604   37.662     5.461..5.752    37.193..38.147        0.922..1.078
 3     24      82.748      63.522      15.419      15.633  4.120    5.367     4.097..4.143      5.362..5.371        0.985..0.988
 3   1024    3434.570     606.446     113.434     112.427  5.346   30.278     5.318..5.374    30.167..30.388        1.003..1.015
 3  16384   55000.000    8136.718    1493.652    1476.074  5.448   36.822     5.415..5.481    36.518..37.133        0.958..1.071
10     24      83.344      65.368      66.025      65.430  0.990    1.262     0.972..1.008      1.249..1.276        0.997..1.021
10   1024    3446.289     598.266     603.272     608.276  0.992    5.713     0.988..0.995      5.648..5.779        0.991..0.993
10  16384   55015.625    8150.391    8263.672    8259.765  0.986    6.658     0.979..0.994      6.611..6.704        1.000..1.001

Exhaustive family ranges (the first six families partition all 73 cases)
Each range includes every fixture in that family, separately for each run.
Positive worst-change percentages are fixed slowdowns relative to Claude;
negative values mean even the slowest relative case was faster.

Target fixed-state short inputs (fn >= 24): 24 cases
  states-run4: C/F 4.097..5.873; S/F 5.359..39.101; F/Split 0.890..1.071; worst fixed change -75.59%
    worst fixture: short,v=3,requested=24,fn=25
  states-run5: C/F 4.049..5.807; S/F 5.341..38.817; F/Split 0.874..1.087; worst fixed change -75.31%
    worst fixture: short,v=17,requested=24,fn=25

Generic short controls: v=7,10,ULONG_MAX-58 (fn >= 24): 12 cases
  states-run4: C/F 0.972..1.011; S/F 1.247..6.877; F/Split 0.982..1.021; worst fixed change +2.89%
    worst fixture: short,v=10,requested=24,fn=25
  states-run5: C/F 0.966..1.014; S/F 1.249..6.891; F/Split 0.982..1.034; worst fixed change +3.55%
    worst fixture: short,v=7,requested=24,fn=25

All positive fraction tails below threshold (0 < fn < 24): 9 cases
  states-run4: C/F 0.996..1.010; S/F 0.981..1.004; F/Split 0.979..1.018; worst fixed change +0.37%
    worst fixture: short,v=5,requested=16,fn=17
  states-run5: C/F 0.982..1.020; S/F 0.976..1.009; F/Split 0.968..1.019; worst fixed change +1.82%
    worst fixture: short,v=17,requested=16,fn=17

Full-dividend controls (fn = 0): 10 cases
  states-run4: C/F 0.979..1.015; S/F 0.973..1.009; F/Split 0.990..1.011; worst fixed change +2.15%
    worst fixture: full,v=3,requested=1024,fn=0
  states-run5: C/F 0.988..1.021; S/F 0.986..1.011; F/Split 0.981..1.018; worst fixed change +1.20%
    worst fixture: full,v=10,requested=1024,fn=0

Exact-division controls (initial remainder = 0): 8 cases
  states-run4: C/F 0.977..1.021; S/F 15.096..35.065; F/Split 0.968..1.009; worst fixed change +2.32%
    worst fixture: exact,v=18446744073709551557,requested=1024,fn=1024
  states-run5: C/F 0.977..1.028; S/F 14.681..35.946; F/Split 0.930..1.015; worst fixed change +2.37%
    worst fixture: exact,v=2,requested=64,fn=64

All half-length dividend inputs: 10 cases
  states-run4: C/F 0.996..1.585; S/F 1.247..1.951; F/Split 0.957..1.013; worst fixed change +0.38%
    worst fixture: half,v=18446744073709551557,requested=1024,fn=514
  states-run5: C/F 0.993..1.544; S/F 1.255..1.945; F/Split 0.958..1.009; worst fixed change +0.68%
    worst fixture: half,v=10,requested=1024,fn=514

Half-length fixed-state detail: v=2,3: 4 cases
  states-run4: C/F 1.154..1.585; S/F 1.900..1.951; F/Split 0.957..1.013; worst fixed change -13.33%
    worst fixture: half,v=2,requested=1024,fn=514
  states-run5: C/F 1.154..1.544; S/F 1.927..1.945; F/Split 0.958..0.999; worst fixed change -13.35%
    worst fixture: half,v=3,requested=1024,fn=514

Half-length generic detail: v=7,10,ULONG_MAX-58: 6 cases
  states-run4: C/F 0.996..1.006; S/F 1.247..1.716; F/Split 0.988..1.009; worst fixed change +0.38%
    worst fixture: half,v=18446744073709551557,requested=1024,fn=514
  states-run5: C/F 0.993..1.014; S/F 1.255..1.719; F/Split 0.992..1.009; worst fixed change +0.68%
    worst fixture: half,v=10,requested=1024,fn=514
