On today's @handmade_hero, we saw the fallacy of the inline "zero cost abstraction" play out dramatically. 50c on a ~170c routine saved!
-
-
@cmuratori@handmade_hero Optimization is somewhat one of the funner ways of programming.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@cmuratori were you running without optimizations? sorry if you covered it, but any thoughts on why? i feel like i've been lied to!Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@cmuratori@handmade_hero Inspired by your videos I worked a bit on a part of obs-studio's capture code and this happened to me as well. :|Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@cmuratori@handmade_hero Weird. Is it inlining it? Maybe use /Ox (full optimization) and see what happens? -
@ssylvan@cmuratori Yes, it inlined, but after inlining, it apparently didn't see the more global optimizations it could have done. - 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.