Re: [eigen] Feature request - Prevent dynamic resizing of a matrix

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


I do not think using a #DEFINE in this case is a bad idea, as it is
mostly a debugging feature. I am having a hard time to find a case in
production code where you would mix the two behaviors.

Cheers

Tim

On Wed, Jan 28, 2009 at 9:51 AM, Benoit Jacob <jacob.benoit.1@xxxxxxxxx> wrote:
> 2009/1/28 Keir Mierle <mierle@xxxxxxxxx>:
>> This seems like the best way to me, defaulting to Eigen::Resizeable.
>
> Actually, Gael rejected this idea today on IRC with a valid argument.....
>
>> Does
>> adding more template parameters like this adversely affect compilation
>> time?
>
> ..... and his argument was indeed that we shouldn't duplicate template
> types -- it's a golden rule in Eigen to minimize the number of
> template types as this is indeed important for compilation time,
> compiler memory usage, and most importantly, object code size.
>
> Cheers,
> Benoit
>
>
>



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