Consider this method of the class CameraTab
void CameraTab::onFocusWheelTick(int delta)
{
const int lut[] = {0,1,3,6,8,16,32,62,90,120,240,500,700,900,1000};
const int lut_len = sizeof(lut)/sizeof(lut[0]);
...
}
Does all the instances of this class share the same lut[] array? Is it created and destroyed in the stack on every method call?