[eigen] Attribute pure/const? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: Eigen development <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: [eigen] Attribute pure/const?
- From: Rhys Ulerich <rhys.ulerich@xxxxxxxxx>
- Date: Mon, 25 Mar 2013 09:51:49 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:from:date:message-id:subject:to :content-type; bh=b4tuyDYtH8g5YLyaCH7ueNUIdq8TPbeiV1Dz6tej04c=; b=o8E6L3Vf9Y0xY7tlEzkf0Lshfm8ukk6DISPI3UkhoIzH26jXxPSJlkASlLihv2QJO8 kwrCh76eyVQYQ4r5rUU6f2+vRMLXqtwbDv7gV+cVWM6O8WmPAKRBCaJ2vmOOQs8o4/3z b3+DdtmX0YGH/Mka0XnoPjBLH2rJ9vgLqWZxRQsTwGt4vtiSL6hCBZg4gtOWzO5y9Kjn 6S4exM8PAHQQYJsmfuhOxEeZ5NzhzwR/o8pF/8/Niin0KZgjyQPTAw7oxzDfuCBx9eBZ +ukK4IEAGEWNHFY26SByLNv0KWgnWSZH0KtUIlGoePU/j0unPLnrO61nS/UgCpBb7Mmw ki+w==
Hi all,
Has anyone played with annotating the Eigen sources with pure and/or
constant attributes to see if they provide a speedup?
I ask because -Wsuggest-attribute=pure, etc. loves to suggest Eigen
functions, and because
http://stackoverflow.com/questions/2798188/pure-const-function-attributes-in-different-compilers
indicates there's fairly wide compiler support for such annotations.
Thanks,
Rhys