I remember having read a patch note telling that funs that were invoked right after been created were optimized (unwrapped ?) by the compiler. But I can’t find it and I am not sure anymore.
I am writing some macros that would be way more readable using immediately invoked funs, but as there would be a lot of calls to the code created by those macros I would be sure that it will be optimized.
Does anybody have a pointer to those docs?