Currently does not cache hardware_concurrency value, like it used to in certain configurations.
GetNativeSystemInfo may be a system call, so it may defeat the speedup obtained by parallel algorithms.
Consider caching it again.
Note that since number of CPUs may change at runtime, it may be a good idea to refresh the value after some GetTickCount64 interval.
Currently does not cache
hardware_concurrencyvalue, like it used to in certain configurations.GetNativeSystemInfomay be a system call, so it may defeat the speedup obtained by parallel algorithms.Consider caching it again.
Note that since number of CPUs may change at runtime, it may be a good idea to refresh the value after some
GetTickCount64interval.