home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / msdos / programm / 9177 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  944 b 

  1. Path: sparky!uunet!usc!snorkelwacker.mit.edu!ai-lab!hal.gnu.ai.mit.edu!rwed
  2. From: rwed@hal.gnu.ai.mit.edu (N7YVM)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Re: malloc overhead?
  5. Message-ID: <27648@life.ai.mit.edu>
  6. Date: 9 Sep 92 02:21:23 GMT
  7. References: <DAVIS.92Sep8201040@pacific.mps.ohio-state.edu>
  8. Sender: news@ai.mit.edu
  9. Organization: /etc/organization
  10. Lines: 12
  11.  
  12. In article <DAVIS.92Sep8201040@pacific.mps.ohio-state.edu> davis@pacific.mps.ohio-state.edu  (John E. Davis) writes:
  13.  
  14. >important. If I malloc some space of length size, how much additional overhead
  15.  
  16. I wondered about this too.. without trying to remember too many details,
  17. I noticed all my mallocs in TurboC were displayed as pointers in the form
  18. segment:0008.. The word at segment:0000 was the size of my block+8,
  19. the word at segment:2 looked like a pointer to another block.. the others
  20. I couldnt determine.. 
  21.  
  22. Id be interested in finding out what this information is..
  23.  
  24.