🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: de.comp.lang.c++
Article #104

Re: Is the STL too authentic... ?

#104
From: Lars Farm
Date: Mon, 09 Oct 1995 12:39
23 lines
1533 bytes
In article <1995Oct9.091043.16202@bam.bruker.de>,
ah@bruker.de (Andreas Huennebeck) wrote:

>In article <AC9C151B9668D9B8@sleipner.nts.mh.se>, lars.farm@nts.mh.se (Lars
>Farm) writes:
>> In article <DG010o.LFK@research.att.com>,
>> ark@research.att.com (Andrew Koenig) wrote:
>> 
>> >Again, I think implementations that check the rules at run time are
>> >a Good Thing, especialy if you can afford them.  But sometimes you can't.
>> 
>> In those few cases, I'd turn checking of selectively after testing and
>> profiling. That is, I would if I could. It's always off in all my
>> compilers:-( Why not reserve a #pragma for this? imho no range check by
>> default is a premature optimization.
>I recommend to do it the other way: range check on as default and a 
>#pragma to switch it off for the 1% of the code which is really time 
>critical (see also the posting of James Kanze).

Yes, that's what I said. Isn't it?

--
Lars Farm, lars.farm@nts.mh.se
Technical Details
Message-ID: <AC9ED6799668B4843@sleipner.nts.mh.se>
Path: arc1-ca.pugleaf.net!fizban.solace.mh.se!user
References: <5vE-N3F6nTB@site71.ping.at> <DFxJ75.3w0@research.att.com> <KANZE.95Oct5121708@slsvgqt.lts.sel.alcatel.de> <DG010o.LFK@research.att.com> <AC9C151B9668D9B8@sleipner.nts.mh.se> <1995Oct9.091043.16202@bam.bruker.de>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!fizban.solace.mh.se!user
From: lars.farm@nts.mh.se (Lars Farm)
Newsgroups: de.comp.lang.c++,comp.lang.c++
Subject: Re: Is the STL too authentic... ?
Date: Mon, 09 Oct 1995 13:39:05 +0100
Organization: pv
Distribution: world
Message-ID: <AC9ED6799668B4843@sleipner.nts.mh.se>
References: <5vE-N3F6nTB@site71.ping.at> <DFxJ75.3w0@research.att.com> <KANZE.95Oct5121708@slsvgqt.lts.sel.alcatel.de> <DG010o.LFK@research.att.com> <AC9C151B9668D9B8@sleipner.nts.mh.se> <1995Oct9.091043.16202@bam.bruker.de>
NNTP-Posting-Host: @sleipner.nts.mh.se