Will a multi-threaded application be actually faster than a single-threaded application?
问题 All is entirely theoretical, the question just came to mind and I wasn't entirely sure whats the answer: Assume you have an application that calculates 4 independent calculations. (Totally independent, doesn't matter what order you do them and you don't need one to calculate another). Also assume those calculations are long (minutes) and CPU-bound (not waiting for any kind of IO) 1) Now, if you have a 1-processor computer, a single thread application will logically be faster than (or the same