[PATCH] libstdc++/8761 and libstdc++/7076

Benjamin Kosnik bkoz@redhat.com
Fri Jan 10 20:48:00 GMT 2003


On Fri, 10 Jan 2003 12:44:01 -0800
Nathan Myers <ncm-nospam@cantrip.org> wrote:

>It seems to me we could get more improvement by eliminating the
>format strings entirely, and working directly off the iosbase
>members.  We could do even better by caching decisions when 
>format flags are set, rather than looking them all up each time
>operator<< is called.  Minimally, this might mean calling a
>streamlined decimal-integer formatter when we know none of the
>complications (hex etc.) is selected.

Yeah. I'm more in favor of a __locale_cache, then the formatting bits
(which dupicates parts of __num_base.) 

-benjamin



More information about the Libstdc++ mailing list