Performance tip?

Hello! In one of the old topics with performance tips, I read that you have to cache object data, for example, position and then use it in other functions:

function object:enterFrame(event) -- then use these variables in other places object.cachedX = object.x object.cachedY = object.y end

Is this relevant to this day?