delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/24/12:45:31

From: "Aleksey Kondratyev" <akondra AT no-spam-mv DOT ru>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: free()
Date: Wed, 24 Jun 1998 20:26:56 +0400
Organization: Middle Volga Communication service
Lines: 20
Message-ID: <6mra1k$g2v$1@simtel.ru>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 980624151027 DOT 24233B-100000 AT is>
Reply-To: "Aleksey Kondratyev" <djgpp AT delorie DOT com>
NNTP-Posting-Host: ppp13.usr.mv.ru
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

>> I suggest to choose a bad (but simple) heap manager, e.g. from Borland
>> C++ RTL :-).
>
>Why should we chose a bad malloc?  Why not chose a good one?

There is no reason to choose a bad malloc for real work but Borland's
implementation seems to be rather simple and suitable as a sample
of a heap manager implementaion. I suggested to look at a simple
heap sources in order to understand it's principles.
----------------------------------------------------------------------
Aleksey Kondratyev
Ph.D. student of Ulyanovsk state University, Russia
http://www.mv.ru/~akondra
E-mail akondra AT mmf DOT univ DOT simbirsk DOT su
           akondra AT mv DOT ru
If the  address above contains no-spam-, please,
remove it when replying.



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019