ridiculous_fish personal blog

Will It Optimize? (2010)

See how well you know (or can anticipate) gcc's optimizer. For each question, the left box contains some code, while the right box contains code that purports to do the same thing, but that illustrates a particular optimization. Will gcc apply that optimization? Put another way, will the code on the left be as fast as…
Points
177
HN comments
58
Submissions
2
Cited by
8 commenters

Systems & PerformanceSoftware Engineering2014

On Hacker News

SubmittedTitle on HNPointsComments
Oct 25, 2014Will It Optimize? (2010) by jeffreyrogers17726
Apr 7, 2013Will It Optimize? See how well you can anticipate gcc's optimizer (2010) by alexbowe9832

Cited in comments

Linked from 10 Hacker News comments by 8 different people, from Nov 2012 to Jan 2022.

Most recent:

Search every comment that links here →

More from ridiculous_fish

All 12 posts →

Related posts from the same era