cpu optimizations for object