Perl Monk, Perl Meditation | |
PerlMonks |
Re^2: Memory usage double expected (run-time)by LanX (Saint) |
on Oct 27, 2022 at 09:00 UTC ( [id://11147732]=note: print w/replies, xml ) | Need Help?? |
> Try $x = 'a' x (2**${\32}); yes, forcing the creation of the RHS into runtime works.
editDave_The_M will know better, why the space of an inline constant wasn't released. I suppose it's just an overlooked optimization.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|