Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 having an uproarious good time at the Monastery: (5)
As of 2024-04-18 06:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found