And here is the same calculation scenario with all of the 6 CPU cores of that i5-9400 taken to handle the calculations :
The amount of worker threads is up to the client application. Of course, if you are running a CPU with n cores, it makes sense to create no more than n worker threads otherwise threads will be waiting one another, not doing work in parallel. If you don't know how many cores the CPU where xlsgen runs has, it can be queried very easily :
And then, creating n worker threads for next calculations is just as simple :
![]() ![]()
|
DevTools
Liens |