in reply to Re^4: Memory usage double expected -- further questions (deparse)
in thread Memory usage double expected

You asked for the difference in code, and that's constant-folding here.

But that's not per se a justification for missing COW.

There might be other implementation details involved:

That's all hard to tell without being a full-time p5p.

Sometimes things would make sense from a purist's point of view, but are just too obscure to justify the overhead to implement it.

Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re^5: Memory usage double expected -- further questions (deparse)