How far do you go with const? Do you just make functions const when necessary or do you go the whole hog and use it everywhere? For example, imag
const
On compiler optimizations: http://www.gotw.ca/gotw/081.htm