interesting point Andrew. We should maybe update the coding standard to reflect this. We've recently introduced this similar concept in our getInstance() code for some classes, where the class uses a locally scoped static variable. This is for getInstance() methods that are called quite frequently. If that variable was moved outside of the function we'd save on this generated code.