Mettle

callee-call-countThe callee makes more calls than the inline call-count budget allows

Reported by --explain after a verdict.

mettle explain callee-call-count

The callee's body is small enough, but it is mostly calls to other functions: a glue routine that orchestrates helpers. Inlining one of those copies the orchestration into the caller and gains nothing, since the calls it makes are still calls.

Fix: mark the callee @inline to override the cap, where the caller really does benefit from seeing through the glue.

Related