3 ms·
Which is wrong on almost any modern architecture. For small size functions inlining is almost always preferable because (1) the prefetcher actually love that a
by adev_ 2y ago
Which is wrong on almost any modern architecture.
For small size functions inlining is almost always preferable because (1) the prefetcher actually love that and (2) a cache-miss due to a mis predicted jump is way more costly than anything a bit of bloat will ever cost you.