« Return to Thread: [scala] Scala Actors - no speedup?

[scala] Scala Actors - no speedup?

by Martin Probst-2 :: Rate this Message:

Reply to Author | View in Thread

Hi,

I tried to implement Tim Bray's Wide Finder proposal
(http://www.tbray.org/ongoing/When/200x/2007/09/20/Wide-Finder) in Scala,
using Actors. The code is here:
http://www.martin-probst.com/2007/09/24/wide-finder-in-scala/

Basically, it's about parsing a log file using regular expressions. In my
code, I have one coordinator who reads the log file and sends work chunks
to several analyzers, and the combines their work again.

As I write there, I don't see any speedup when running the code using
Actors in comparison with the serial version. Any ideas? Am I doing
something wrong?

Is there any way to specify the number of threads that should be used for
Actor execution?

Regards,
Martin

 « Return to Thread: [scala] Scala Actors - no speedup?