Re: [eigen] generic unrollers

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


On Wednesday 11 June 2008 12:31:55 Gael Guennebaud wrote:
> > One more idea while I am there.
> >
> > The current ei_corrected_flags stuff means that a Matrix type is
> > different from its own Eval type. That's bad, probably more code gets
> > instantiated uselessly because of that. I think Matrix should have Flags
> > parameters defaulting to ei_corrected_flags<...> so that Matrix<..> and
> > its own Eval type are guaranteed to be the same type. What's your
> > opinion?
>
> agree.

I just did that (which also required to put the _Flags template parameter 
last, as its default value now depends on _MaxRows and _MaxCols).

Result: the unit-tests now compile 13% faster here and the produced binaries 
with -g2 are about 7% smaller.

Cheers,

Benoit

Attachment: signature.asc
Description: This is a digitally signed message part.



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/