Caching, for that matter, means storing the variables (CVARS, in his example) in local variables for maximized reading speed. Your code is all localy defined, therefore it is already as fast as his caching example and, as Arkshine said, what you said makes no sense since those are two completely different situations.