Mail Archives: djgpp/1998/06/13/23:48:15
Matthew Conte wrote:
>
> Elliott Oti wrote in message <358305BC DOT 61AB AT stud DOT warande DOT ruu DOT nl>...
> >* Take it easy on static arrays and static global variables and try and
> >allocate as much dynamically as you can.
>
> Quick question: is access to a dynamically allocated array slower than a
> static global array, or are they the same?
They're the same. Memory is memory. Of course, if it gets swapped out,
it will be slower, but that can apply in either case.
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -