Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^4: Thread::Apartment, how do I use main:: subs?

by BrowserUk (Pope)
on May 20, 2009 at 01:07 UTC ( #765082=note: print w/replies, xml ) Need Help??


in reply to Re^3: Thread::Apartment, how do I use main:: subs?
in thread Thread::Apartment, how do I use main:: subs?

My app is running at 400MB right now and it hardly does more than load.

I found the same thing when I played with T::A a year or two ago. Huge memory usage and glacial speed for relatively little gain.

In my experience, nearly everything you want to do with threads is easier, lighter and faster using threads directly. So long as you're not wedded to everything being OO, there is rarely a genuine need to pass complex objects around between threads.


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.
  • Comment on Re^4: Thread::Apartment, how do I use main:: subs?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://765082]
help
Chatterbox?
[robby_dobby]: This anonymonk's post reads weird to me
[robby_dobby]: Other than the content, that Chrome would not allow submitting code sounds like something funky going on there :P
[erix]: lazyness-driven inventio :)
[erix]: "the dog ate my homework"
[Eily]: looks more like "all my plates are broken and I don't understand why. Also I can't retrieve the broken parts because the elephant in the room is on the way"

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (10)
As of 2017-04-25 13:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (453 votes). Check out past polls.