in reply to Re: Thread sharing a bit vector??
in thread Thread sharing a bit vector??
Balderdash, poppycock & bunkum.
If s/he needs to do a full cross-intersection between 3500 bitstrings, 6.125 million operations, then on one thread it will take 6.125e6*t seconds.
Do it on 4 threads and it can take 1/4 that time. The source vectors are read-only for teh intersection operation, so don't require locking. It only requires subdividing the results vectors logically to avoid thread/data overlaps, and they require no locking either.
Perl isn't the right language for this type of work at this time, but advising against multiprogramming because you're personally scared of it is just malicious.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Thread sharing a bit vector??
by Anonymous Monk on Apr 12, 2012 at 13:20 UTC | |
by BrowserUk (Patriarch) on Apr 12, 2012 at 14:31 UTC | |
by traceyfreitas (Sexton) on Apr 13, 2012 at 01:04 UTC | |
by BrowserUk (Patriarch) on Apr 13, 2012 at 01:41 UTC | |
by traceyfreitas (Sexton) on Apr 13, 2012 at 11:00 UTC |