[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#121642: libstdc++3: Unable to do buffered cout (?)



On Fri, Nov 30, 2001 at 12:20:20AM +0100, Martin v. Loewis wrote:
> > Nor do I believe that the HOWTO suggests that stdio is bad.  
> 
> Well, it says "Ditch C". It says so only to get my attention, but I
> still read it as "if you want to performance, do not use stdio"

I think the text makes it clear that it is only the combination of libraries
that is harmful to performance -- and then only when they are layered,
nor just side-by-side.

> (and
> it actually says that).

The only sentence I see which comes close to saying that is:

    The downside is that writing through cout can quite easily lead to
    awful performance when the C++ I/O library is layered on top of the
    C I/O library (as it is for 3.0 by default).

If this is what you're referring to, then I will rewrite it to make it
clear that the awful performance is due to multiple independant buffers,
not an assumption of a poor C library.


Phil

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams



Reply to: