home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.msdos.programmer
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!pacific.mps.ohio-state.edu!davis
- From: davis@pacific.mps.ohio-state.edu ("John E. Davis")
- Subject: malloc overhead?
- Message-ID: <DAVIS.92Sep8201040@pacific.mps.ohio-state.edu>
- Sender: news@pacific.mps.ohio-state.edu
- Nntp-Posting-Host: pacific.mps.ohio-state.edu
- Reply-To: davis@pacific.mps.ohio-state.edu (John E. Davis)
- Organization: "Dept. of Physics, The Ohio State University"
- Date: Wed, 9 Sep 1992 01:10:40 GMT
- Lines: 18
-
- Hi,
-
- I have a simple question that I have never seen addressed but is also
- important. If I malloc some space of length size, how much additional overhead
- is there? That is, the amount of ``free'' memory will drop by size + d_size;
- what is d_size? I know this may depend on the memory module etc, so for the
- sake of argument, assume that I am talking about farmallocs in the large
- memory module.
-
- Thanks,
- --
- _____________
- #___/John E. Davis\_________________________________________________________
- #
- # internet: davis@amy.tch.harvard.edu
- # bitnet: davis@ohstpy
- # office: 617-735-6746
- #
-