Re:When zero cost abstractions aren't zero cost
by catlifeonmars on Tuesday August 10, 2021 @09:35PM
(#28136913)
I know this was meant as (light) sarcasm, but have you ever profiled a nontrivial program that turned out to have zero peaks? My gut tells me this would be really difficult to do by accident. The same way that writing crypto code that is resistant to timing attacks is hard.
[ Parent
| on HN ]
Re:When zero cost abstractions aren't zero cost
by HexDecOctBin on Tuesday August 17, 2021 @07:59PM
(#28216193)
I have definitely seen code where the peaks are very shallow, and flattening them does nothing for the performance.