🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #1374

Re: malloc overhead?

#1374
From: N7YVM
Date: Wed, 09 Sep 1992 02:21
11 lines
965 bytes
In article <DAVIS.92Sep8201040@pacific.mps.ohio-state.edu> davis@pacific.mps.ohio-state.edu  (John E. Davis) writes:

>important. If I malloc some space of length size, how much additional overhead

I wondered about this too.. without trying to remember too many details,
I noticed all my mallocs in TurboC were displayed as pointers in the form
segment:0008.. The word at segment:0000 was the size of my block+8,
the word at segment:2 looked like a pointer to another block.. the others
I couldnt determine.. 

Id be interested in finding out what this information is..
Technical Details
Message-ID: <27648@life.ai.mit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!snorkelwacker.mit.edu!ai-lab!hal.gnu.ai.mit.edu!rwed
References: <DAVIS.92Sep8201040@pacific.mps.ohio-state.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!snorkelwacker.mit.edu!ai-lab!hal.gnu.ai.mit.edu!rwed
From: rwed@hal.gnu.ai.mit.edu (N7YVM)
Newsgroups: comp.os.msdos.programmer
Subject: Re: malloc overhead?
Message-ID: <27648@life.ai.mit.edu>
Date: 9 Sep 92 02:21:23 GMT
References: <DAVIS.92Sep8201040@pacific.mps.ohio-state.edu>
Sender: news@ai.mit.edu
Organization: /etc/organization
Lines: 12