On Sun, Sep 11, 2005 at 10:40:13PM +0100, Andrew Suffield wrote:
> On Sun, Sep 11, 2005 at 07:52:22PM +0400, Andrew Shirrayev wrote:
> > Memory allocated, not release and not use for lesser object.
>
> Oh, hmm, that's probably perl's own arena allocator logic getting
> confused and failing to reu
At YAPC::NA 2013, Tim Bunce mentioned that the perl interpreter will
keep constants like $a x 100 around just in case they are needed
again. Not so smart when they are huge, but there you go.
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe
Package: perl
Version: 5.8.4-8
Severity: normal
*** Please type your report below this line ***
Small perl program:
$a="AAA\n";
$b=$a x 100;
print "Length = ".length($b)."\n";
system("top -b -n 1 |grep \" *$$ \"");
$b=$a x 10
3 matches
Mail list logo