Re: [eigen] eigen sqrt compilation error

[ Thread Index | Date Index | More Archives ]

On Fri, Jun 19, 2009 at 5:50 AM, Benoit Jacob <jacob.benoit.1@xxxxxxxxx> wrote:
The #include<Eigen/Array> increases compilation times by 2.5% and the
memory usage is not affected.

2.5 percent on a simple test program? I would absolutely merge the Array/ files into Core/ then. I would guess that this overhead is just the relatively small fixed cost of parsing Array (which is not very many lines of code, really), and that the real cost of using the Array features is instantiating the templates used by cwise() and the like. So if you don't use any of the Array-powered features you only pay the small parsing cost.

I like the <Eigen/Dense> and <Eigen/Eigen> convenience headers also. I agree that work-around headers like StdVector and QtAlignedMalloc should be explicitly included by the user.


Mail converted by MHonArc 2.6.19+