Think about Loose Coupling | |
PerlMonks |
Re^2: Need help with Perl multi threadingby BrowserUk (Patriarch) |
on Jan 26, 2012 at 16:20 UTC ( [id://950156]=note: print w/replies, xml ) | Need Help?? |
I would be hard-pressed to be convinced that “adding threads to” such an algorithm that is right now “working fine(!)” will actually make it either more reliable, or faster. Perhaps if you relied less on your apparently limited imagination and tried using the stuff you feel obliged to talk about, you might talk less crap. Threading always divides time, while adding considerable complication. What!? What on earth are you taking when you dream this stuff up? I mean really man, did you do no simple math at school: ... or were you simply to busy bullshitting about how you'd seen and done it all in pre-school, to take any notice. So, all kinds of Danger, Will Robinson! alarm bells are going off in my head. Geez! You're like a kid that was told masturbation would make him go blind and has refused wash his winkle ever since. A simple example of threading at work:Fetching 100 urls serially:
Fetching those same urls in parallel:
5 times faster -- and look at how much more complicated it is. Four whole extra lines! With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|