To: "Joel N. Weber II" <devnull@gnu.ai.mit.edu> Cc: "ELKS List" <linux-8086@vger.rutgers.edu> From: David Murn <scuffer@hups.apana.org.au> Date: Sun, 13 Jul 1997 01:30:54 +1000 (EST) Newsgroups: linux.dev.8086 On Sat, 12 Jul 1997, Joel N. Weber II wrote: > In general, local variables are stored on the stack. So the stack > grows by an appropriate amount when you enter the function. Globals > are stored in a part of the program for global variables. > > malloc is only really used for dynamic allocation. Well wouldn't it make sense to allocate space on a need-to-use basis? Even if just to save a bit of space in our DS. Who knows, it might even reduce our code size, by calling malloc instead of assuming a pointer is pointing to a fixed size. Davey
From Unofficial Linux-8086 Mailing List Archive (ULMLA)
Maintained by Robert
Robert's Mailing List Archive Page
Archive created with babymail