Igor Pechtchanski wrote:

However code like the above does end up using twice the space; it's
allocated once to store the result of the x operation and again when
it's copied to $a.

D'oh!  I forgot that this was an assignment, not an initialization.  I
feel properly chastised. :-)

How come the assignment here is not an initialization? I suppose it is.
$ perl -e '$a="a"x(200*1024*1024); sleep 9'

Krzysztof Duleba


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to