Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
lmm
· 6y ago · 0 comments
If you can really guarantee that there are no other threads running, surely you can explain that guarantee to the compiler so that it can make use of it.
Comments
[–]
eloff
6y ago
Doing so may likely require creating a separate code path for threads = 1 case, which is probably not worth the effort involved.