Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com From: Krzysztof Duleba Subject: Re: heap_chunk_in_mb default value (Was Re: perl - segfault on "free unused scalar") Date: Fri, 29 Jul 2005 19:21:44 +0200 Lines: 10 Message-ID: References: <23AA05B1B7171647BC38C5D761900EA40223C7E9 AT DF-SEADOG-MSG DOT exchange DOT corp DOT microsoft DOT com> <20050729170958 DOT GA872 AT efn DOT org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) In-Reply-To: <20050729170958.GA872@efn.org> X-IsSubscribed: yes Yitzchak Scott-Thoennes 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. Really? I hope you're wrong. Avoiding copy operation while declaring a new variable with a value is a very important optimization. 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/