Francesco Mazzoli personal blog
When static makes your C code 10 times faster
Addendum : Many Hacker News commenters correctly point out that the right way to indicate to the compiler that a value does not change is const . This post is not about C best practices, but just about how one can easily get to the bottom of this kind of surprising behavior by looking at the compiler output. This…
- Points
- 201
- HN comments
- 108
- Submissions
- 1
- Cited by
- 0 commenters
Systems & PerformanceSoftware Engineering2021
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Jul 4, 2021 | When static makes your C code 10 times faster by rostayob | 201 | 108 |