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.
|
---|