[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory Allocation



> 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
>