Message-ID: <352299EA.5F1FF492@johnbryce.co.il> Date: Wed, 01 Apr 1998 22:47:54 +0300 From: Noam Rotem Organization: John Bryce Training Centre L.T.D MIME-Version: 1.0 To: "John M. Aldrich" CC: djgpp AT delorie DOT com Subject: Re: malloc & free References: <352140E9 DOT D07CEE53 AT krona DOT obninsk DOT ru> <3521822F DOT 6B13 AT cs DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk John M. Aldrich wrote: > The answer is quite simple: DJGPP's malloc()/free() does not return > freed memory blocks to the system; it keeps track of them for possible > reuse later. At program termination, all allocated memory is returned > to the DPMI host. Is it faster to reuse freed memory than asking the dpmi server for it again? --------------------------------------------- Noam Rotem John Bryce Training Centre Tel Aviv, Israel. 03-7535803 =============================================