[v3] DR 282 and libstdc++/4402

Nathan Myers ncm-nospam@cantrip.org
Wed Dec 5 17:11:00 GMT 2001


On Wed, Dec 05, 2001 at 02:06:33PM -0800, Benjamin Kosnik wrote:
> Here's what I'm going to check in. I believe this resolves the DR and
> GNATS report to everybody's satisfaction. Please correct me if I'm wrong.
 
My only complaint is all those (repeated!) calls to numpunct virtuals 
in each format operation.  Those details should be cached on the first 
format operation, and re-used thereafter until the next imbue call.  
There used to be infrastructure for such caching; did it get stripped
out?

There's no reason why C++ floating-point output should be ten thousand
times slower than printf.

Nathan Myers
ncm at cantrip dot org



More information about the Libstdc++ mailing list