too-many-parametersThe callee takes more than 16 parameters
Reported by --explain after a verdict.
mettle explain too-many-parameters
Past sixteen parameters the inliner's argument-binding work grows faster than the inlining is worth.
Fix: pass a struct. That is usually the better interface anyway, and it brings the function back under the cap.
Related
- callee-no-bodyThe callee has no body to inline
- callee-noinlineThe callee is marked @noinline
- callee-denylistedThe callee is on the compiler's inline denylist
- callee-parameter-namesThe callee's parameter names are unavailable
- callee-over-budgetThe callee's body is over the inline size budget
- callee-call-countThe callee makes more calls than the inline call-count budget allows
- callee-inline-asmThe callee contains inline assembly
- callee-has-loopThe callee's loop body is over the inline size budget