in reply to Re: memory use when merging tied hashrefs
in thread memory use when merging tied hashrefs
Nice! Memory doesn't budge when using each, but the program's slightly too slow, so I'll trade memory for speed. Good to know for a cloudy day. I did away with hash3 and merged hash2 into hash1:
while (my ($k,$v) = each %$hash2) { $hash1->{$k} = $v }
Thanks for the lesson
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: memory use when merging tied hashrefs
by Eily (Monsignor) on Nov 13, 2019 at 17:18 UTC | |
|
Re^3: memory use when merging tied hashrefs
by Eily (Monsignor) on Nov 13, 2019 at 15:56 UTC | |
by Anonymous Monk on Nov 13, 2019 at 20:22 UTC |