Boost logo

Proto :

Subject: Re: [proto] proto performance
From: Karsten Ahnert (karsten.ahnert_at_[hidden])
Date: 2011-02-20 06:31:42


On 02/20/2011 12:08 PM, Joel Falcou wrote:
> On 20/02/11 12:03, Karsten Ahnert wrote:
>> On 02/20/2011 12:02 PM, Joel Falcou wrote:
>>> On 20/02/11 11:55, Karsten Ahnert wrote:
>>>> On 02/20/2011 11:57 AM, Eric Niebler wrote:
>>>> It gcc 4.4 on a 64bit machine. Of course, I compile with -O3.
>>>>
>>> Ding! welcome to gcc-4.4 64bits compiler hellfest.
>>> Try 4.5, 4.4 64bits can't inlien for w/e reason.
>> Great, I tried with gcc 4.5 and the proto part is now around 5-10
>> percents faster. Thank you.
>
> We banged our heads for weeks on this issue earlier until we found some
> dubious bug report in gcc bugzilla flagged as nofix :/
> Seems the 4.5 branch solved it somehow.

It is amazing that the proto expression is faster then the naive one.
The compiler must really love the way proto evaluates an expression.

>
> You cna also try compiling with 4.4 using -m32
> _______________________________________________
> proto mailing list
> proto_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/proto

-- 
Dr. Karsten Ahnert
Ambrosys GmbH - Gesellschaft für Management komplexer Systeme
Geschwister-Scholl-Str. 63a
D-14471 Potsdam
Tel: +4917682001688
Fax: +493319791300
Ambrosys GmbH - Gesellschaft für Management komplexer Systems
Gesellschaft mit beschränkter Haftung
Sitz der Gesellschaft: Geschwister-Scholl-Str. 63a, 14471 Potsdam
Registergericht: Amtsgericht Potsdam, HRB 21228 P
Geschäftsführer: Dr. Karsten Ahnert, Dr. Markus Abel

Proto list run by eric at boostpro.com