objects: optimize redundant table lookup