Article View: rec.games.programmer
Article #2033Re: cout vs printf speed (was: Should I learn C or C++ first?)
From: Dom De Vitto
Date: Fri, 01 Sep 1995 01:02
Date: Fri, 01 Sep 1995 01:02
9 lines
1209 bytes
1209 bytes
Martin Randall (Martin@onex.demon.co.uk) wrote: > OK, here's a new one to throw into this thread - but not totally un-related. > Which is faster new or malloc ? My C++ book says that new should be faster. New could be faster, if it just returns gnumalloc(size) :) For basic, versions of new, that uses malloc instead of writing a better malloc, new will be a tiny bit slower. Dom
Technical Details
Message-ID:
<425m34$s82@snlsu1>Path:
arc1-ca.pugleaf.net!news.london.sinet.slb.com!devittoReferences:
<DDJ2Lp.3DG@pentagon-ai.army.mil> <41afe9$d10@newsbf02.news.aol.com> <41kici$p4t@deyke3.fc.hp.com> <41ngln$qau@druid.borland.com> <41tjep$2hn@deyke3.fc.hp.com> <41v8k9$jq8@tpd.dsccc.com> <41vst0$9nb@gap.cco.caltech.edu> <tgooding-3008950016040001@helser196.res.iastate.edu> <809779542snz@onex.demon.co.uk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.london.sinet.slb.com!devitto From: devitto@london.sinet.slb.com (Dom De Vitto) Newsgroups: rec.games.programmer,comp.lang.c++ Subject: Re: cout vs printf speed (was: Should I learn C or C++ first?) Followup-To: rec.games.programmer,comp.lang.c++ Date: 1 Sep 1995 01:02:28 GMT Organization: Schlumberger SINet, London, England Message-ID: <425m34$s82@snlsu1> References: <DDJ2Lp.3DG@pentagon-ai.army.mil> <41afe9$d10@newsbf02.news.aol.com> <41kici$p4t@deyke3.fc.hp.com> <41ngln$qau@druid.borland.com> <41tjep$2hn@deyke3.fc.hp.com> <41v8k9$jq8@tpd.dsccc.com> <41vst0$9nb@gap.cco.caltech.edu> <tgooding-3008950016040001@helser196.res.iastate.edu> <809779542snz@onex.demon.co.uk> NNTP-Posting-Host: gat2.ferndown.ate.slb.com X-Newsreader: TIN [version 1.2 PL2] X-Newsreader: TIN [version 1.2 PL2]