Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: High RAM script takes forever to terminate

by gwadej (Chaplain)
on Nov 19, 2008 at 23:26 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2025-06-15 19:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.