delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/29/13:22:36

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <krzysan AT skrzynka DOT pl>
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: <dcdojc$rp4$1@sea.gmane.org>
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
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019