Re: [eigen] Decrease in performances

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


On Wed, Jun 27, 2012 at 1:17 PM, Jitse Niesen <jitse@xxxxxxxxxxxxxxxxx> wrote:
> On 26 June 2012 23:07, Gael Guennebaud <gael.guennebaud@xxxxxxxxx> wrote:
>
>> Now about optimizing the check itself, before implementing subtle
>> mechanisms I'd like to see an example of any performance hit.
>
>
> Instead of optimizing the check, would it be possible to argue that it's the
> user's responsibility and not ours to ensure that row * col does not
> overflow (which we should of course clearly document)? In that case, the
> check would only need to take place when NDEBUG is not defined, but not in
> production code.


It might be an option too. I'm not against it.

gael



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