From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4475 invoked by alias); 13 Oct 2004 18:59:07 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 4461 invoked from network); 13 Oct 2004 18:59:06 -0000 Received: from unknown (HELO psmtp.com) (64.18.1.211) by sourceware.org with SMTP; 13 Oct 2004 18:59:06 -0000 Received: from source ([192.150.22.8]) by exprod6ob1.obsmtp.com ([64.18.5.12]) with SMTP; Wed, 13 Oct 2004 11:58:48 PDT Received: from inner-relay-1.corp.adobe.com (inner-relay-1 [153.32.1.51]) by smtp-relay-8.adobe.com (8.12.10/8.12.10) with ESMTP id i9DIwhbA005643; Wed, 13 Oct 2004 11:58:48 -0700 (PDT) Received: from iplan-mn (iplan-mn.corp.adobe.com [130.248.25.5]) by inner-relay-1.corp.adobe.com (8.12.9/8.12.9) with ESMTP id i9DIwgTk001231; Wed, 13 Oct 2004 11:58:43 -0700 (PDT) Received: from mn-eljay-a51m.adobe.com ([130.248.178.105]) by iplan-mn.corp.adobe.com (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0I5J00D54E1RB5@iplan-mn.corp.adobe.com>; Wed, 13 Oct 2004 13:58:42 -0500 (CDT) Date: Wed, 13 Oct 2004 18:59:00 -0000 From: Eljay Love-Jensen Subject: Re: (Question reframed)Storing specified variables in the same memory page! In-reply-to: <20041013180434.88918.qmail@web8505.mail.in.yahoo.com> X-Sender: eljay@iplan-mn.corp.adobe.com To: Vinay , gcc-help@gcc.gnu.org Message-id: <6.1.2.0.2.20041013135648.01ef8a98@iplan-mn.corp.adobe.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT References: <20041013085119.5721.qmail@web40508.mail.yahoo.com> <20041013180434.88918.qmail@web8505.mail.in.yahoo.com> X-SW-Source: 2004-10/txt/msg00096.txt.bz2 Hi Vinay, Before worrying about this memory optimization, first get the program to work the normal way. Then, after the program is working, try to optimize the variable placement by allocating a chunk of memory. Put the variables in that allocated memory chunk. HTH, --Eljay