Re: [eigen] Indexes: why signed instead of unsigned?

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


On 11 May 2010 16:47, Benoit Jacob <jacob.benoit.1@xxxxxxxxx> wrote:
> I just had a diabolic idea, if we agree that bigger-than-2^31-support
> is not a top priority and will at most be used by relatively few
> people, then we can keep things unchanged for now, so keep 'int' in
> Eigen 3.0, and later on, when actual people actually need it (perhaps
> in eigen 3.45), add a non-default compile-time option
> EIGEN_USE_LONG_INDICES. Such an option would then break the ABI of
> Eigen classes, so it couldn't become default.
>
> Question - is BLAS/LAPACK using int or ptrdiff_t ?
>
> Benoit

As this move will break the ABI then why not implement it right on the
3.0 release instead of pushing it to a point release in the future?


Rui Maciel



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