Memory management with Perl
By Steven Lembark from Stlouis.pm
Date: Saturday, February 7, 2009 01:20 PM
Duration: 20 minutes
Target audience: Any
Language:
Perl can be a wonderful language for ETL, data mining, or long-lived applications. All of which have one thing in common: memory bloat or fragmentation can be painful. In many cases, techniques that work fine for smaller projects cause problems with really large or long-lived applications. This talk describes some of the things I've found, from storing sparse numeric arrays in hashes to List::Util's reduce, to modifying values in place. All of these have helped me deal with large datasets in genetics, finance, and pharma applications.
Attended by: