This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
This benchmark shows how indirect function calls have nearly | |
the same overhead costs as direct function calls. | |
This is comparing apples to apples, factoring out the savings | |
due to inlining optimizations that direct calls usually afford. | |
From this, it seems that inlining and other generic interprocedual | |
optimizations are the main drivers of direct function call optimization, | |
not the direct call itself. |