delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/02/28/11:02:01

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Message-Id: <10202281548.AA27673@clio.rice.edu>
Subject: Re: Malloc/free DJGPP code
To: djgpp-workers AT delorie DOT com
Date: Thu, 28 Feb 2002 09:48:11 -0600 (CST)
In-Reply-To: <3C7D4C39.2B68622E@yahoo.com> from "CBFalconer" at Feb 27, 2002 04:14:33 PM
X-Mailer: ELM [version 2.5 PL2]
Mime-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

One quick comment:  The block overhead moves from 8 bytes per malloc to
32 bytes per malloc.  For lots of small allocations this could be a
problem on small memory machines.  I'd prefer to remove the guardhi 8 bytes
to reduce the overhead to 24 bytes per block, or to move all of the 
information before the block and plan to align on 16-byte boundaries.

- Raw text -


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