Re: how to release memory from a hash table or array

2008-12-10 Thread Dr.Ruud
org chen schreef: > I read a large file into a hash table. This hash table is used only > once in the subroutine. I am very concern the memory usage, So I plan > to realse the memory after used the hash table. The way I used is: > > my %hash = (); > > #read the large file into the hash table > ...

Re: how to release memory from a hash table or array

2008-12-09 Thread Rob Dixon
org chen wrote: > > Thanks for the confirmation and suggestion. > > I had tried Database, it do not work well for me, since the database need > more data structure to maintain the data, it take longer time or more memory > to add or remove data and matain the index table. In some case the pure

RE: how to release memory from a hash table or array

2008-12-09 Thread org chen
is much efficient, such as sorting. It is nice there is a place we can discuss these issus. Org. > Date: Wed, 10 Dec 2008 02:59:47 +> From: [EMAIL PROTECTED]> To: > beginners@perl.org> CC: [EMAIL PROTECTED]> Subject: Re: how to release memory > from a hash table

Re: how to release memory from a hash table or array

2008-12-09 Thread Rob Dixon
org chen wrote: > > I read a large file into a hash table. This hash table is used only once in > the subroutine. I am very concern the memory usage, So I plan to realse the > memory after used the hash table. The way I used is: > > my %hash = (); > > #read the large file into the hash table

Re: how to release memory from a hash table or array

2008-12-09 Thread Mr. Shawn H. Corey
On Wed, 2008-12-10 at 13:15 +1030, org chen wrote: > I read a large file into a hash table. This hash table is used only > once in the subroutine. I am very concern the memory usage, So I plan > to realse the memory after used the hash table. The way I used is: > > my %hash = (); > > #read the