in reply to Perl Hash Performance Hits Brick Wall!
When passing the hash back to the calling function, the process stalled indefinitely but there was a great deal of memory usage in the background and one CPU saturated.
First, please don't put your entire posts into <c></c> or <code><code> tags. These are reserved for code.
Second, you are probably passing the hash back like that
return %hash;
which passes back a long, long, really long list of tuples (key/value pairs). Pass back a reference.
return \%hash;
See perlref.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl Hash Performance Hits Brick Wall!
by Anonymous Monk on Aug 17, 2015 at 07:44 UTC |