Profile mode (was Re: Add std::unordered_* C++11 allocator support)

François Dumont frs.dumont@gmail.com
Thu Apr 25 19:27:00 GMT 2013


On 04/25/2013 11:36 AM, Paolo Carlini wrote:
> On 04/25/2013 11:16 AM, Jonathan Wakely wrote:
>> On 25 April 2013 09:52, Paolo Carlini wrote:
>>> Hi,
>>>
>>> could you please take care of the profile-mode bits too? Let's try 
>>> to keep
>>> the 3 modes in sync, I noticed only by chance.
>> Does **anyone** use profile mode?
>>
>> It has no maintainers, few (if any) users, and is an ongoing 
>> maintenance burden.
> For sure it's a burden. I have no personal objections to removing it, 
> but as long as it remains in, the testsuite must be clean, as for 
> everything else.
>
> Paolo.
>
>
     I can take care of this, sure.

     Personally I find this profile mode really interesting and would 
advise anyone using libstdc++ to give it a try. I think it worth the 
maintenance effort.

     And today I even consider extending it for an other purpose. I am 
working on using the hint of the unordered insert or emplace_hint 
methods. We will have to document how we use it but I also want to use 
the profile mode to study if the iterator used as a hint has been really 
useful or not. That is part of the nice stuff the profile mode can do.

François



More information about the Libstdc++ mailing list