When the maximum available (logical) threads is less than four, use this number of threads rather than four; this gives a better benchmark score for CPU's such as some Intel Celeron's with only two cores (and no Hyper-Threading - HT), although it still wouldn't quite be fair as to passes per thread for some CPU's with only two cores but with HT or Simultaneous Multi Threading (ofwhich none are currently tested)...
Contributing requirements
[x] I read the contribution guidelines in CONTRIBUTING.md.
[x] I placed my solution in the correct solution folder.
[x] I added a README.md with the right badge(s).
[x] I added a Dockerfile that builds and runs my solution.
[x] I selected drag-race as the target branch.
[x] All code herein is licensed compatible with BSD-3.
Description
When the maximum available (logical) threads is less than four, use this number of threads rather than four; this gives a better benchmark score for CPU's such as some Intel Celeron's with only two cores (and no Hyper-Threading - HT), although it still wouldn't quite be fair as to passes per thread for some CPU's with only two cores but with HT or Simultaneous Multi Threading (ofwhich none are currently tested)...
Contributing requirements
drag-race
as the target branch.