Not 1080p yet, but here is the video of the massive speed win just from copying an inline function into a loop:https://youtu.be/1CVmlnhgT3g?t=3113 …
-
-
@cmuratori So, yeah, "zero cost abstraction" isn't even true in the case of inline functions that do nothing but cast or multiply numbers. -
@cmuratori You can't really conclude this from one case where the optimizer did two different things for two different pieces of code. - Show replies
New conversation -
-
-
@cmuratori Looks to me like the scalarized version hoists anything to do with Y out of the I loop (since it's all constant). -
@cmuratori The only per-X part is: (XI+I) int->float, subtract Origin.x to form dx, do two muls and adds each to form U and V. - 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.