Re: [eigen] speedup debug mode

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


Asserts are not very costly though you can disable Eigen's one with
-DEIGEN_NO_DEBUG.  The real slow down comes from the lack of inlining
and basic optimization. Compiling with -O1 -g2 usually gives a good
tradeoff.

Gael.

On Thu, Oct 6, 2011 at 12:01 AM, Michel <michel.pacilli@xxxxxxx> wrote:
> Hi,
>
> Is it possible to define a flag to speed up matrix operation in debug mode?
> It seems to have a lot of assert and so on, witch make any calculation very
> long, and sometime I just want to debug my algo without all checks inside
> eigen code.
>
> regards,
>
> michel
>
>
>



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