in reply to Re: Saving an array to a disk file
in thread Saving an array to a disk file
Howto Avoid Memory Problem in List::MoreUtils.My basic problem is "Out of memory" error during process of getting uniq array. Unfortunately, the suggestion by salva, at some point also giving me same memory problem. So following your comment:
If you run out of memory, this will still swap to disk, but that shouldn't be slower than your method.Seems that your solution (last snippet) is the best I can get. Avoiding run out of memory problem yet still significantly as fast as List::MoreUtils::uniq ? Please correct me if I'm wrong..
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Saving an array to a disk file
by Tanktalus (Canon) on May 26, 2006 at 12:57 UTC | |
by dsheroh (Monsignor) on May 26, 2006 at 16:32 UTC |