4 ms·
Compare to using a real programing language, such as Go: return runtime.NumCPU() + 1 Sure, there needs to be os to program (and possibly occasionally progra
by Laremere 6y ago
Compare to using a real programing language, such as Go:
return runtime.NumCPU() + 1
Sure, there needs to be os to program (and possibly occasionally program to program) communication, but well defined binary formats are easier to parse in a more reliable manner. Plus they can be faster, and moved to an appropriate function.