Abstract Machinist personal blog
Going faster by duplicating code
This function doesn't know the value being multiplied until it is called. The compiler (gcc, O2) emits a generic integer multiply instruction in its loop body.
- Points
- 158
- HN comments
- 68
- Submissions
- 1
- Cited by
- 0 commenters
Software EngineeringSystems & Performance2023
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Oct 10, 2023 | Going faster by duplicating code by voidstarcpp | 158 | 68 |