Skip to content

Make Eigen faster in debug mode: EIGEN_FORCE_INLINING

Submitted by Gael Guennebaud

Assigned to Nobody

Link to original bugzilla bug (#433)
Version: 3.3 (current stable)

Description

see this thread: http://forum.kde.org/viewtopic.php?f=74&t=97734&p=215895

In order to make user code reasonably fast in debug mode, the idea would be to add a compile time EIGEN_FORCE_INLINING option that would add the always inline attribute to all simple eigen functions. This means that all simple functions should be qualified with at least an EIGEN_INLINE macro that would default to inline, and EIGEN_ALWAYS_INLINE_ATTRIB if EIGEN_FORCE_INLINING is defined.

Blocking

#1608