Date: Sun, 11 Aug 1996 11:28:59 +0200 (IST) From: Eli Zaretskii To: Gurunandan R Bhat Cc: djgpp AT delorie DOT com Subject: Re: is it true that.... In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 10 Jul 1996, Gurunandan R Bhat wrote: > i just saw it mentioned that malloc allocs in chunks of powers of > 2. for example malloc(1025) will alloc actually 2048. could someone > suggest ways to avoid this waste (in case it is true..) Sure: write your own `malloc'. The current implementation is optimized for speed, not for efficient use of available memory.