delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/02/12/10:26:11

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
Date: Tue, 12 Feb 2002 09:24:53 -0600
From: Eric Rudd <rudd AT cyberoptics DOT com>
Subject: Re: Alignment problem
To: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Cc: eliz AT is DOT elta DOT co DOT il, djgpp-workers AT delorie DOT com
Message-id: <3C6933C5.C7C22E16@cyberoptics.com>
Organization: CyberOptics
MIME-version: 1.0
X-Mailer: Mozilla 4.72 [en] (Win95; U)
X-Accept-Language: en,pdf
References: <10202112312 DOT AA22795 AT clio DOT rice DOT edu>
Reply-To: djgpp-workers AT delorie DOT com

Charles Sandmann wrote:

> The drawback in this (if I remember the code correctly) is that rv will never be
> == expected_sbrk, so we always waste an extra boundary tag in addition to the
> additional 7 bytes lost.

The 7 bytes are lost only each time the pointer has to be re-aligned, not on every
malloc call.  I didn't think that 7 bytes was significant.

-Eric

- Raw text -


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