This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] DR 282 and libstdc++/4402


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]