I have seen that Parallel For loop consumes 100% of the processor and i executed the same code with TTask.Run and consumes 40% of the processor, After seeing that I do not know which one I use The first method consumes 100% but the result is faster than the second consumes 40% of processor but the result comes later than the first . Thank you for answering me
Thanks for the clear video. In my code, the TParallel.For somehow cannot simply start 2 parallel loops. I already asked about this in forums.embarcadero.com/thread.jspa?threadID=258485&tstart=0 It seems somehow that when calling TParallel.For(0,1,......) for example to run 2 loops, one for index 0 and one for index 1, the two are run sequentially. If adding more loops, it looks like always the first 2 loops are not run in parallel. So with 3 loops taking equal time, we save only the time of one loop. Is there a reason for this? thanks, Wilfried
I already getted source code, great, thank you very much , danny wind
Thanks so much. Excellent presentation man!
I have seen that Parallel For loop consumes 100% of the processor and i executed the same code with TTask.Run and consumes 40% of the processor,
After seeing that I do not know which one I use The first method consumes 100% but the result is faster than the second consumes 40% of processor but the result comes later than the first .
Thank you for answering me
Can you give me the source code of the rest client server example ? thanks
Thanks for the clear video.
In my code, the TParallel.For somehow cannot simply start 2 parallel loops. I already asked about this in forums.embarcadero.com/thread.jspa?threadID=258485&tstart=0
It seems somehow that when calling TParallel.For(0,1,......) for example to run 2 loops, one for index 0 and one for index 1, the two are run sequentially. If adding more loops, it looks like always the first 2 loops are not run in parallel. So with 3 loops taking equal time, we save only the time of one loop.
Is there a reason for this?
thanks, Wilfried
thank you very much
thank you!!
Where's source code ? Can you give me all source codes in this video ???? Please!