in reply to Memory efficient way to deal with really large arrays?
my @d; my (@p1, @p2); for (my $i=0;$i<500000000;$i++) { my ($p1,$p2) = getPair(); $d[$p1]++; $d[$p2]++; push @p1, $p1; push @p2, $p2; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Memory efficient way to deal with really large arrays?
by LanX (Saint) on Dec 13, 2020 at 13:01 UTC | |
by salva (Canon) on Dec 13, 2020 at 13:21 UTC |