Date: Mon, 28 Jul 1997 10:30:37 +0200 (METDST) From: Robert Hoehne To: Chirayu Krishnappa Cc: djgpp AT delorie DOT com Subject: Re: mem alloc taking up power of 2 In-Reply-To: <1.5.4.16.19970727141631.54172988@giasbga.vsnl.net.in> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Sun, 27 Jul 1997, Chirayu Krishnappa wrote: > 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? As mentioned already by others, look at SET's page for an other malloc. And in general: The malloc function has nothing to do with the compiler, it is part of libc and since I'm not using that incompatible commercial compilers, I cannot say how they work. You can test it yourself by purchasing them and try. Robert ***************************************************************** * Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau * * Post: Am Berg 3, D-09573 Dittmannsdorf * * e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE * * WWW: http://www.tu-chemnitz.de/~rho * *****************************************************************