The unbounded reader 0.2.3 embeds this C kernel as WebAssembly. It contains scalar grayscale residuals, Gaussian blur, the original finite-difference damped optimizer, an added analytic-derivative optimizer and the same 12-by-12 solver. It contains no payload acceptance, RS/CRC logic, photograph, expected payload or answer lookup.
python -m ziglang cc -target wasm32-freestanding -O3 -ffp-contract=off -fno-fast-math -nostdlib -Wl,--no-entry -Wl,--export=__heap_base -Wl,--export-memory -Wl,--strip-all -o mono.wasm comb-mono.cThe wrapper imports Math.sin, Math.cos and a deadline predicate. Images and point arrays are cached within a fit, and caches reset for each new fit. The original finite-difference fit runs first with the previous four-second budget. The analytic fit is a separate additional attempt with a three-second budget. Existing later searches remain. If module initialization fails, the original JavaScript implementation runs and the added attempt is skipped. The offline HTML embeds the binary and needs no runtime fetch.
Sampled tests matched 205,439 optimizer/blur values and the optimizer costs and early-stop iterations against the original JavaScript. A separate 72,000 sampled analytic-derivative check against central differences had maximum absolute difference below 1e-7. These are sampled checks, not proofs for all floating-point inputs. Analytic derivatives intentionally change the search trajectory and are not bit-identical to finite differences. Added unsuccessful fits can make difficult inputs slower. The build backup includes the wrapper, builders, source templates and tests.
The unbounded reader 0.2.3 reuses one embedded instance for the early and later monochrome fits. Each fit resets image and point caches. The later exhaustive ring fit explicitly selects the original finite-difference optimizer; it does not inherit analytic mode from an earlier attempt. No new search attempt, deadline or acceptance logic is added. Three sampled complete fit candidate arrays matched exactly before and after compilation. A state-reset test also matched after forcing analytic mode immediately before the later fit. The original JavaScript ring fit remains if the module is unavailable.