home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / msdos / programm / 9172 < prev    next >
Encoding:
Text File  |  1992-09-08  |  1.1 KB  |  31 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!pacific.mps.ohio-state.edu!davis
  3. From: davis@pacific.mps.ohio-state.edu ("John E. Davis")
  4. Subject: malloc overhead?
  5. Message-ID: <DAVIS.92Sep8201040@pacific.mps.ohio-state.edu>
  6. Sender: news@pacific.mps.ohio-state.edu
  7. Nntp-Posting-Host: pacific.mps.ohio-state.edu
  8. Reply-To: davis@pacific.mps.ohio-state.edu  (John E. Davis)
  9. Organization: "Dept. of Physics, The Ohio State University"
  10. Date: Wed, 9 Sep 1992 01:10:40 GMT
  11. Lines: 18
  12.  
  13. Hi,
  14.  
  15.    I have a simple question that I have never seen addressed but is also
  16. important. If I malloc some space of length size, how much additional overhead
  17. is there?  That is, the amount of ``free'' memory will drop by size + d_size;
  18. what is d_size? I know this may depend on the memory module etc, so for the
  19. sake of argument, assume that I am talking about farmallocs in the large
  20. memory module.
  21.  
  22. Thanks,
  23. --
  24.      _____________
  25. #___/John E. Davis\_________________________________________________________
  26. #
  27. # internet: davis@amy.tch.harvard.edu
  28. #   bitnet: davis@ohstpy
  29. #   office: 617-735-6746
  30. #
  31.