getters and setters, they just return values or assign values The notion of getters and setters is a somewhat informal one. But even if you assume a specific implementation for them (I didn't) then it is still true that invoking them 10M times in a specified context will take so many ms. And that number of ms is their efficiency. Or ...