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
Benjamin Kosnik replied:
> Sorry about the delay. My redhat.com email got completed screwed. This
> post may or may not work.
>> Loren James Rittle wrote:
>>
>> 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
Is the patch for 7445 going to be reverted before 3.2 goes out then?
Andrew.
--
Andrew Pollard, Brooks-PRI Automation | home: andrew@andypo.net
670 Eskdale Road, Winnersh Triangle, UK | work: Andrew.Pollard@brooks-pri.com
Tel/Fax:+44 (0)118 9215603 / 9215660 | http://www.andypo.net