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: Remove algo logic duplication Round 3


I have read over this patch, and think it is good.

Now I can see the patch in a more readable form (and have applied it),
I now agree with this method of combining the algorithms. I did some
simple benchmarking and could not measure a difference with and
without this patch.

If you want to be 100% sure the patch works correctly, I would like to
see the boost test suite run with and without this patch, as boost is
traditionally one of the major users, and abusers, of the C++ standard
library. However, I wouldn't make that a requirement.

Chris

On 24 September 2013 00:37, Marc Glisse <marc.glisse@inria.fr> wrote:
> On Mon, 23 Sep 2013, Paolo Carlini wrote:
>
>> Hi again,
>>
>> On 9/23/13 5:36 PM, Paolo Carlini wrote:
>>>
>>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51680
>>> Funny, I don't remember making that comment at all, and isn't that old ;)
>>
>> ... but wait, that bug report is *not* about an inline in a member
>> function declaration. Is about an inline in a free standing function. I
>> definitely agree with myself about that comment.
>>
>> Did you read all the comments in the audit trail? Do you think the bug
>> report is relevant for the specific issue we are discussing today, that is
>> *member* functions defined in the body with/without an explicit inline?
>
>
> Maybe not. Even for free function templates as in the PR, I don't know if
> adding inline still makes any difference. As I said, let's forget that.
>
> --
> Marc Glisse


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