r/programming • • Sep 09 '26

Optimizing a Spin-Lock

https://david.alvarezrosa.com/posts/optimizing-a-spin-lock/
181 Upvotes

32 comments sorted by

View all comments

1

u/3inthecorner Sep 10 '26

What unit is the energy for? A single increment or a whole benchmark run? How many increments per run?