On today's @handmade_hero, we saw the fallacy of the inline "zero cost abstraction" play out dramatically. 50c on a ~170c routine saved!
@ssylvan @cmuratori Yes, it inlined, but after inlining, it apparently didn't see the more global optimizations it could have done.
-
-
@cmuratori Ugh, that's weird. You'd think manual inlining would be equivalent.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@cmuratori@ssylvan Using better compiler helps. This is all that clang produces for old code (with function calls)pic.twitter.com/Xvu78qrmf1
-
@cmuratori@ssylvan Basically old code with clang is as fast as MSVC with todays manually inlined code. - Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.