2 ms·
Calling sleep(1) instead of thread yield is faster - see the twitter thread for a proof.
by mritun 7y ago
Calling sleep(1) instead of thread yield is faster - see the twitter thread for a proof.
- de_watcher 7y agoStill worse: it's a confusing code, and it's also confusing that it's faster.