Le jeudi 14 décembre 2006 08:58, Steven Bosscher a écrit :
> On 12/14/06, Benoît Jacob <[EMAIL PROTECTED]> wrote:
> > I don't understand why you say that. At the language specification level,
> > templates come with no inherent speed overhead. All of the template stuff
> > is unfolded at compile time, none of it remains visible in the binary, so
> > it shouldn't make the binary slower.
>
> You're confusing theory and practice...

We're getting offtopic here, the example program I sent in my first mail 
didn't have any templates, so the gcc bug we're talking about has nothing to 
do with templates. The same bug would appear in any C or C++ program having 
nested loops and expecting them to get completely unrolled.

Benoit

Attachment: pgpI1YexNOPbn.pgp
Description: PGP signature

Reply via email to