Threading cost - minimum execution time when threads would add speed
Posted
by Lukas
on Stack Overflow
See other posts from Stack Overflow
or by Lukas
Published on 2010-03-16T10:02:26Z
Indexed on
2010/03/16
10:06 UTC
Read the original article
Hit count: 327
I am working on a C# application that works with an array. It walks through it (meaning that at one time only a narrow part of the array is used). I am considering adding threads in it to make it perform faster (it runs on a dualcore computer). The problem is that I do not know if it would actually help, because threads cost something and this cost could easily be more than the parallel gain... So how do I determine if threading would help?
© Stack Overflow or respective owner