delorie.com/archives/browse.cgi | search |
Date: | Sun, 23 Nov 1997 18:28:44 -0800 (PST) |
Message-Id: | <199711240228.SAA02762@adit.ap.net> |
Mime-Version: | 1.0 |
To: | andy maddison <maddison AT coventry DOT ac DOT uk>, djgpp AT delorie DOT com |
From: | Nate Eldredge <eldredge AT ap DOT net> |
Subject: | Re: new/delete speed |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |