parallel within parallel code
问题 Once I have divided the tasks to 4 independent tasks and make them run in parallel. Is it possible to further make each task run in parallel ? (says, each task, there are lots of for each loop - that could be implemented as parallel code) 回答1: You definitely could, but it doesn't guarantee thread safety. You have to take into account multiple factors though What's the size of your iterations (The more, the better) How many concurrent threads can your CPU handle The amount of cores in your