Originally posted by Edy Yu:
My answer to that question is no. It will even slow down your program by constructing and starting multiple threads.
The right answer is "depends". Multithreading may increase real performance by allowing you to do useful work while you would otherwise do nothing, for instance, when waiting for a blocked I/O call. There is no question that multithreading increases the performance of a web server.
It may also increase perceived performance by allowing your application to remain responsive, update the display etc. while some background activity is going on. There is no question that people will experience an improvement of the performance of your
word processor if you do the spellchecking in the background, even if that means the spellcheck takes twice as long.
- Peter