Is there any difference between
Say if I have a very 'complicated' procedure myfunc(K,C) that takes two options, but it runs all dependently.
Which one is more efficient? The final ouput of each run from myfunc is just a integer value.
The reason I am asking it that i think both runs on a 'single' thread (core) as CPU usage is always very low, around 15-20%.
If I look at the task manager, some cores (threads) arent doing anything.
Is there anyway to speed things up?