Optimization Controls and Optimization Hints

Obligatory “@inline(__always) does not and cannot guarantee inlining when the function is used as a value; however, this should not be considered a fatal flaw, as writing the function call inside a closure expression would have the same behavior; rather, it should merely be mentioned in any official documentation about it”.

3 Likes