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: [PATCH] libstdc++/8761 and libstdc++/7076


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


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