Why bother? You are about to replace this with the read of the next
file. This means that you chuck away all of the memory allocation you have
just for Perl to reassign it all. This may lead to heap memory fragmentation.
--
Just because I've written it doesn't mean that
either you or I have to believe it.
.
FAQ 3.18 How can I free an array or hash so my program shrinks? ... comes with the standard Perl distribution.... On most operating systems, memory allocated to a program can never be ...memory allocation and de-allocation isn't something you can ... The perlfaq-workers, a group of volunteers, maintain the perlfaq. ... (comp.lang.perl.misc)
FAQ 3.18 How can I free an array or hash so my program shrinks? ... comes with the standard Perl distribution.... On most operating systems, memory allocated to a program can never be ...memory allocation and de-allocation isn't something you can ... The perlfaq-workers, a group of volunteers, maintain the perlfaq. ... (comp.lang.perl.misc)
FAQ 3.18 How can I free an array or hash so my program shrinks? ... comes with the standard Perl distribution.... On most operating systems, memory allocated to a program can never be ...memory allocation and de-allocation isn't something you can ... The perlfaq-workers, a group of volunteers, maintain the perlfaq. ... (comp.lang.perl.misc)
FAQ 3.18 How can I free an array or hash so my program shrinks? ... comes with the standard Perl distribution.... On most operating systems, memory allocated to a program can never be ...memory allocation and de-allocation isn't something you can ... The perlfaq-workers, a group of volunteers, maintain the perlfaq. ... (comp.lang.perl.misc)
FAQ 3.18 How can I free an array or hash so my program shrinks? ... comes with the standard Perl distribution.... On most operating systems, memory allocated to a program can never be ...memory allocation and de-allocation isn't something you can ... The perlfaq-workers, a group of volunteers, maintain the perlfaq. ... (comp.lang.perl.misc)