Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: High RAM script takes forever to terminate

by gwadej (Chaplain)
on Nov 19, 2008 at 23:26 UTC ( #724760=note: print w/replies, xml ) Need Help??


in reply to High RAM script takes forever to terminate

I was doing some profiling of different ways to clear a hash a short while back and ran across an interesting data point.

%hash = ();

was significantly faster than letting the hash go out of scope or using delete.

I don' know if this will help. (I suspect it won't.) But, it's worth a try.

G. Wade

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2022-08-14 22:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?