This sort of optimization is possible in many other places throughout the rest of the codebase, and it generally seems like a bit of a premature optimization currently. I don't disagree that in theory this allows for more inlining and fewer calls, but I'd like to avoid this semi-obscure pattern throughout the codebase for now (until we see that it is indeed truly necessary).

Some other places where this pattern would be nice:

* mutex lock
* make_unique on arcs
* sending a message
* receiving a message

and many more I presume. For now, are you ok with just making this one method that's not marked `#[inline]`? I would imagine that super perf-sensitive contexts are using LTO anyway, but that may be wrong.