[Insight-developers] note on data accessors

Joshua Cates cates@cayenne.cs.utah.edu
Fri, 2 Feb 2001 18:24:59 -0700 (MST)


Hello,

A note on itkDataAccessor:
I have been playing around with the itkDataAccessor object in some of my
code and found that gcc -O2 doesn't seem to optimize away the inline
Get/Set functions.  It would appear you have to go to -O3.

Josh.

______________________________
 Josh Cates			
 School of Computer Science	
 University of Utah
 Email: cates@cs.utah.edu
 Phone: (801) 587-7697
 URL:   www.cs.utk.edu/~cates