[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Memory Allocation
- To: <linuxgames@sunsite.dk>
- Subject: Re: Memory Allocation
- From: "Denizinho" <share.kan@bol.com.br>
- Date: Sun, 5 May 2002 17:55:40 -0300
- Delivered-To: archiver@seul.org
- Delivered-To: mailing list linuxgames@sunsite.dk
- Delivery-Date: Sun, 05 May 2002 16:50:01 -0400
- Mailing-List: contact linuxgames-help@sunsite.dk; run by ezmlm
- References: <7884.18452-32485-880727361-1020199003@seznam.cz> <02043021590601.00231@200191140086-dial-user-UOL>
- Reply-To: linuxgames@sunsite.dk
> If I declare all variables of my program global, giving to the OS the task
of
> managing virtual/phisical memory for these variables, I have significant
loss
> of speed than when I manage the blocks of memory with malloc?
>
the program with global var will use more memory than the program that use
dynamic alocation, but never the most speed.
> Thanks for atention,
>
> Igor Cabral Corr?a
> Computer Science - UFRJ - Brazil
>