Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Memory stays fixed:
Memory use grows:$|++; while () { print '.'; select undef,undef,undef,0.01; }
What's going on?$|++; re(); sub re { print '.'; select undef,undef,undef,0.01; re() }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: sub calls and memory use
by Corion (Patriarch) on Nov 16, 2019 at 07:15 UTC | |
by LanX (Saint) on Nov 16, 2019 at 12:38 UTC | |
by Anonymous Monk on Nov 16, 2019 at 14:06 UTC | |
by Corion (Patriarch) on Nov 16, 2019 at 14:17 UTC | |
by LanX (Saint) on Nov 16, 2019 at 14:55 UTC | |
by dave_the_m (Monsignor) on Nov 16, 2019 at 15:30 UTC | |
by Anonymous Monk on Nov 16, 2019 at 14:43 UTC | |
by LanX (Saint) on Nov 16, 2019 at 15:03 UTC | |
| |
A reply falls below the community's threshold of quality. You may see it by logging in. |
Back to
Seekers of Perl Wisdom