2 ms·
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.
by lmm 6y ago
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.
- eloff 6y agoDoing so may likely require creating a separate code path for threads = 1 case, which is probably not worth the effort involved.