This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3] DR 282 and libstdc++/4402
- From: Nathan Myers <ncm-nospam at cantrip dot org>
- To: libstdc++ at gcc dot gnu dot org
- Date: Thu, 6 Dec 2001 01:11:13 +0000
- Subject: Re: [v3] DR 282 and libstdc++/4402
- References: <20011205140633.2eabd729.bkoz@redhat.com>
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