| 32 | 32 | - **Piece 1 (exact-arity direct calls): measured, not landed.** Implemented in full on the `calls-exact-arity` branch (PR #231, closed unmerged): the rule ended up "never a closure value, never an entry, on neither side of a cross-function tail call, not a CPR worker" — with one rule found by the test suite: a tail call *through a closure* musttails into the uniform `tl_fn`, so its caller keeps the uniform shape too. Then the measurement: user-space instructions (`LOUISE_THREADS=1`, deterministic to a few parts in 10^8 here) are within ±0.00% of the uniform build on every benchmark and on `fib`, with and without ThinLTO. Release builds are single-unit, so every program function is `static` and clang's dead-argument elimination already removes the padding stores piece 1 targeted; the premise that the convention's padding costs instructions does not survive. The gap on `fib` is the value representation (#190) and the counter/checks only. |
| 33 | 33 | - **Piece 2 (preemption on recursive-group entries): implemented, on its numbers.** The cyclicity analysis shares Perceus's Tarjan (extracted to `louise_core::callgraph`); `LOUISE_NO_GROUP_PREEMPT` restores a point at every entry. Instructions: `effects` −2.3%, `idle` −1.5%, the rest within ±0.8% (`fib`/`arith` ±0.0%, as the assessment predicted: their own entries are their loops). Preemption latency: the new ticker test (`tests/run/ticker.lse`), `process.lse`'s busy-actor kill, the loom models and `timers` are unchanged. |
| 34 | +- **Piece 3 (fast integer paths): ceiling measured, not built.** With the overflow checks hacked out of `tl_int_add/sub/mul` entirely (a throwaway build, wrong on overflow), the ceiling is real: `arith` −6.2%, `fib` −4.2% instructions. But the values those checks guard are *parameters* and *accumulators* — `fib`'s `n`, `sum_to`'s `acc` — whose ranges no leaf-local analysis can prove: they need interprocedural ranges or induction reasoning. The piece as scoped ("leaf functions with provably small ranges") would prove approximately nothing hot, so it is not built; the ceiling is recorded here so a future range-analysis design knows what it could buy. |