Monday, December 16, 2024

Inlined vs Non-inlined C++

In various programming languages, it is possible to inline code. For example, with C++, one can use design patterns or keywords like extern, static, or inline to suggest to the compiler that code should be inlined. Non-inlined code can generate extra, unnecessary calls to the global offset table or procedure linkage table.