delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/27/04:46:21

Date: Sun, 27 Jul 1997 14:07:59 +0530
Message-Id: <1.5.4.16.19970727141631.54172988@giasbga.vsnl.net.in>
Mime-Version: 1.0
To: Robert Hoehne <Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE>, djgpp AT delorie DOT com
From: Chirayu Krishnappa <chirayu AT radiolink DOT net>
Subject: Re: mem alloc taking up power of 2

>But that's NOT correct. malloc() returns also the power of two aligned
>block to the user.

Now that is sheer wasting of memory. I think its a very bad idea to have
implememnted it this way (the malloc()). Do the other compilers (watcom,
visual c++, symantec etc) do the same?

I'm concerned.

Please clarify.

Bye,

Chirayu Krishnappa:
------------------
e-mail: chirayu AT poboxes DOT com
Phone:  91 080 3332616.
============================================================================
==========

- Raw text -


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