Date: Sun, 23 Nov 1997 18:28:44 -0800 (PST) Message-Id: <199711240228.SAA02762@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: andy maddison , djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: new/delete speed Precedence: bulk At 02:01 11/18/1997 +0000, andy maddison wrote: >Does anyone know how fast the operations new and delete are? I'm fairly sure that they're just wrappers for `malloc' and `free'. DJGPP's `malloc' package is reputedly very fast. >Is allocating/deallocating memory on every program cycle impracticle for >time crucial programs, i.e. graphics. Don't know. The only way to find out is to try it and profile it. Nate Eldredge eldredge AT ap DOT net