Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: Partition in to 63 parts

by remzak (Acolyte)
on Jan 18, 2010 at 21:36 UTC ( #818050=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Partition in to 63 parts
in thread Need a faster way to find matches

The data isn't random... the numbers come from another algorithm. Finding the pairs is the middle step of a three step algorithm.

BrowserUK provided a great example of using threads. When I tried your approach, I used too many threads and learned how much overhead threads require. I'll try to merge his partioning approach with my code... I'm finding that after six threads, the performance degrades (on my machine).


Comment on Re^3: Partition in to 63 parts

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://818050]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2014-07-29 03:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (211 votes), past polls