Re: [eigen] Performance comparision between static and dynamic arrays |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Performance comparision between static and dynamic arrays
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Sun, 27 Jun 2010 12:58:32 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=pfQmanAXM+zBq0x3Sx9dVLSX61kOLaFCUkc1WB6zfos=; b=jiGs10IZ6dOutnssN4qzcP2Nzpd5oN0IAfb+gNo7inPR4irsEMo2TWYv7crthoH/47 oavTloTDUyW2DyOnQTCMnuqp2f6H6UuL9NY3VvV3whGmhucw29va5GYUMy2/AKD6KB4D MbwJ4FypqhHbC8KlyiYDro8dzSpkevKH7lk/c=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=rPivehnEMQEi8uqEAbJSrhk4qt8ExRtsRSkgtOQaXBHOfs/5RC4ae3wWzQowdgpU2F O0k41Y3QIGwxgn584sOYKtlTUWX5YNjBguKLVgYlcBQzG5BlCRJ11WXfzq8ABffQptad UtiOm8Z2wsem5iKraQQ/Dt+arxq6IAh7ky8Lc=
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
>>>
>>>
>>>
>>
>>
>
>
>
>