
14 Sep
2005
14 Sep
'05
9:35 a.m.
On 07 September 2005 16:04, Dinh Tien Tuan Anh wrote:
So is there a way to reuse thread ? I think eventhough threads in GHC are extremely lighweight, it still make a different if u keep launching and killing thread in so many times.
My advice would be to try without a thread pool first, and see if you have any performance problems. My guess is that you won't - threads are so lightweight that you might end up with *worse* performance if you use a thread pool. Cheers, Simon