Re: [eigen] Performance comparision between static and dynamic arrays

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


 Thanks!

Mani chandra


On 06/27/2010 10:28 PM, Benoit Jacob wrote:
absolutely zero advantage, except if you are specifically interested
in studying stack overflows ;-)

2010/6/27 Mani chandra<mchandra@xxxxxxxxxx>:
  Hi,

    I'm interested in matrices of the order of 64^3, 128^3 and 256^3. Do you
think there is advantage in going for static arrays?

Regards,
Mani chandra
On 06/27/2010 10:20 PM, Benoit Jacob wrote:
Yes, for very small sizes, the difference can be huge, not only
because of malloc, but also because fixed sizes allow to unroll loop.

Benoit

2010/6/27 Mani chandra<mchandra@xxxxxxxxxx>:
  Dear Eigen devs,

    Is there a significant performance difference between statically and
dynamically allocated arrays in Eigen?

Regards,
Mani chandra













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