Inlining Module Functions...

Inlining Module Functions...

Does anyone know a way to get inlined module functions. I find that if I put the module in the same file as the caller, the functions seem to inline, but if the module is not in the same file they don't. I would really like to be able to get the speed of inlining, but the convenience of module separation.

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Sorry - inlining happens only when the compiler sees the source of the caller and callee together.

What you can do for your "release" configuration is have the project consist of a single source file that INCLUDEs all the other sources. For development, have another project that is the separate sources. They can live in the same workspace and you can easily switch among them.


Retired 12/31/2016

Leave a Comment

Please sign in to add a comment. Not a member? Join today