This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: libstdc++/7445: poor performance of std::locale::classic() in multi-threaded applications
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Wed, 7 Aug 2002 10:14:32 -0700
- Subject: Re: libstdc++/7445: poor performance of std::locale::classic() in multi-threaded applications
- Organization: Red Hat / San Francisco
- References: <3D4ABA7C.8070901@brooks-pri.com><200208060433.g764XpBl000132@latour.rsch.comm.mot.com>
Sorry about the delay. My redhat.com email got completed screwed. This
post may or may not work.
> I hereby propose that the PR patch and all follow-on patches be
> unrolled until someone produces a real test case that performs poorly.
> Performance patches produced by code inspection should hold no merit
> with us.
Sounds good.
I think that locale::classic is wrapped with locale::_S_initialize.
That's what should be called first, before classic. Perhaps the problem
lies there.
-benjamin