# Division and vector-write dispatch results (356) Retained ordinary-dispatch shortcuts for exact small-integer quotient/remainder/modulo and valid `vector-set!` calls. Division reuses the existing arithmetic API; zero and promoted quotient cases retain the ordinary path. Vector writes validate primitive identity, VM ownership, extension state, tags, readonly state and bounds, then charge the application budget before mutation. Bounded VMs and rejected operands retain the full dispatcher. No new allocation is introduced. Both sanitizer and Boehm builds passed 25 focused tests, including division signs and signed-64-bit boundaries, promotion, both frontends, primitive rebinding, saved aliases, callable/unspecified vector values, GOOPS and sequence/control behavior. Eight hundred source/budget observations compare errors, values and the destination after denied writes against the bounded VM full dispatcher. Compared on the same idle Intel i3 Mac mini, one locked job at a time, from hash-verified snapshots. Each workload/configuration has nine measured fresh processes plus one excluded process; all 1,800 checked samples passed. Prepared medians include the workload but exclude setup and first-use native compilation. Native persistence was off for both versions. All cases and native fallbacks remain included. Only `scheme/machine.v` changed in runtime sources; native generated code and ABI remain identical, so existing native scaling checks remain applicable. | Suite | GC gain vs before | Arena gain vs before | Guile/after GC | Guile/after arena | |---|---:|---:|---:|---:| | wm | 1.087× | 1.130× | 0.167× | 0.162× | | numeric | 1.013× | 1.050× | 0.354× | 0.360× | Regressions above 5% remain visible: `closure-mutate-2k` (gc: 5.5% slower), `callcc-escape-1k` (gc: 8.0% slower). The change is retained for the aggregate gains across both suites and collectors; these losses remain follow-up work. Ratios above one favor Vile. These results do not establish the requested 1.5× overall advantage over Guile 3. ## wm | Workload | Before GC ms | After GC ms | Guile ms | GC gain | Arena gain | Guile/after GC | |---|---:|---:|---:|---:|---:|---:| | wm-callback-chain | 8.218 | 7.357 | 0.638 | 1.117× | 1.190× | 0.087× | | wm-event-dispatch | 5.528 | 5.292 | 0.218 | 1.044× | 1.122× | 0.041× | | wm-focus-cycle | 6.858 | 6.125 | 0.376 | 1.120× | 1.193× | 0.061× | | wm-tiling-layout | 3.630 | 3.529 | 0.110 | 1.029× | 1.107× | 0.031× | | wm-workspace-move | 2.270 | 1.867 | 0.174 | 1.216× | 1.274× | 0.093× | | wm-keybindings | 4.927 | 4.747 | 0.283 | 1.038× | 1.048× | 0.060× | | wm-hooks | 4.652 | 3.911 | 0.354 | 1.189× | 1.254× | 0.091× | | wm-lifecycle | 1.659 | 1.404 | 0.130 | 1.181× | 1.229× | 0.092× | | wm-macro-config | 4.868 | 4.699 | 5.299 | 1.036× | 1.018× | 1.128× | | wm-config-load-tree | 5.372 | 5.264 | 8.972 | 1.021× | 1.025× | 1.704× | | wm-reload-live | 9.908 | 9.626 | 8.154 | 1.029× | 1.073× | 0.847× | | wm-session-replay | 9.326 | 8.895 | 8.096 | 1.048× | 1.066× | 0.910× | ## numeric | Workload | Before GC ms | After GC ms | Guile ms | GC gain | Arena gain | Guile/after GC | |---|---:|---:|---:|---:|---:|---:| | tail-sum-10k | 0.006 | 0.006 | 0.034 | 1.000× | 1.000× | 5.995× | | fib-20 | 0.170 | 0.170 | 0.312 | 1.000× | 0.999× | 1.832× | | closure-5k | 0.004 | 0.004 | 0.016 | 1.000× | 1.000× | 3.680× | | list-3k | 0.008 | 0.008 | 0.061 | 0.996× | 1.001× | 7.611× | | flonum-sum-2k | 0.012 | 0.012 | 0.096 | 1.007× | 1.002× | 7.895× | | bignum-fib-200 | 0.061 | 0.063 | 0.005 | 0.976× | 1.013× | 0.088× | | rational-harmonic-80 | 0.098 | 0.098 | 0.052 | 1.001× | 1.003× | 0.528× | | integer-divmod-5k | 0.018 | 0.018 | 0.168 | 1.003× | 1.003× | 9.257× | | list-map-1k | 0.146 | 0.149 | 0.049 | 0.982× | 0.991× | 0.326× | | list-reverse-2k | 0.661 | 0.694 | 0.061 | 0.952× | 1.032× | 0.088× | | vector-update-2k | 0.744 | 0.524 | 0.016 | 1.419× | 1.594× | 0.031× | | bytevector-fill-4k | 1.335 | 1.077 | 0.086 | 1.239× | 1.392× | 0.080× | | hashtable-count-1k | 0.583 | 0.503 | 5.938 | 1.158× | 1.192× | 11.796× | | string-build-1k | 0.050 | 0.051 | 0.044 | 0.982× | 1.007× | 0.849× | | string-scan-4k | 1.013 | 1.061 | 0.044 | 0.955× | 1.034× | 0.041× | | unicode-scan-1k | 0.270 | 0.280 | 0.012 | 0.965× | 1.033× | 0.042× | | datum-read-write-200 | 1.595 | 1.585 | 2.330 | 1.006× | 1.012× | 1.470× | | closure-mutate-2k | 0.440 | 0.465 | 0.009 | 0.948× | 1.023× | 0.018× | | higher-order-2k | 0.021 | 0.021 | 0.006 | 0.996× | 0.983× | 0.304× | | callcc-escape-1k | 0.123 | 0.133 | 0.007 | 0.926× | 1.022× | 0.050× | | values-consumer-1k | 0.742 | 0.757 | 0.004 | 0.981× | 1.006× | 0.006× | | dynamic-wind-200 | 0.160 | 0.165 | 0.013 | 0.972× | 1.009× | 0.076× | | goops-dispatch-1k | 0.786 | 0.801 | 0.111 | 0.981× | 1.025× | 0.138× | | goops-allocate-200 | 0.113 | 0.115 | 0.055 | 0.980× | 1.006× | 0.476× | The raw records also retain first-call and whole-process times. This is a nine-sample iteration; the final 31-sample gate remains outstanding. Build snapshot: `vile-resume.d5k872we`. Measurement snapshot: `vile-resume.0k__8er3`. Raw archive: `validation/primitive356/` in the recovery directory.