🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.games.programmer
Article #2027

Re: cout vs printf speed (was: Should I learn C or C++ first?)

#2027
From: David Boeren
Date: Thu, 31 Aug 1995 16:09
9 lines
887 bytes
Gavin Estey (gavin@senator.demon.co.uk) wrote:
[ new vs malloc ]

: Why should you care which one is faster? You don't usually allocate memory
: in inner loops or speed critical areas. New is better, maybe not faster,
: but better.

Well, there's only one problem I can think of.  There is no "renew" analagous
to the realloc() function.  
Technical Details
Message-ID: <akemiDE6nJo.4u@netcom.com>
Path: arc1-ca.pugleaf.net!netcom.com!akemi
References: <809779542snz@onex.demon.co.uk> <809810607snz@senator.demon.co.uk>

Show Full Headers
Complete Article Headers
Newsgroups: rec.games.programmer,comp.lang.c++
Path: arc1-ca.pugleaf.net!netcom.com!akemi
From: akemi@netcom.com (David Boeren)
Subject: Re: cout vs printf speed (was: Should I learn C or C++ first?)
Message-ID: <akemiDE6nJo.4u@netcom.com>
Followup-To: rec.games.programmer,comp.lang.c++
Organization: NETCOM On-line Communication Services (408 261-4700 guest)
X-Newsreader: TIN [version 1.2 PL1]
References: <809779542snz@onex.demon.co.uk> <809810607snz@senator.demon.co.uk>
Date: Thu, 31 Aug 1995 16:09:24 GMT
Sender: akemi@netcom2.netcom.com