libstdc++/4150: catastrophic performance decrease in C++ code

Loren James Rittle
Mon Apr 15 17:14:00 GMT 2002

In article <>,
Jason Merrill <> writes:

>>>>>> "Loren" == Loren James Rittle <> writes:
>> Having attempted patches similar to your proposal, I think the hammer
>> breaks those test cases that exercise interleaving between C and C++ IO.

> I don't think so.  If we're synced to stdio, we get buffers of size 1, so
> it doesn't matter which end we're calculating from.

OK, cool.  I am playing with your exact patch for a while.  After
rebuilding libstdc++-v3 with it and ensuring no regressions on any
platforms I can personally check; I will look at the interactive
stream cases that have been posted over the years.


More information about the Libstdc++ mailing list