Efficient object properties

Seems like using an entity component system would be more efficient.