I would like to ask if it's better to pass a complete array or object to view or just a required value?
For example, controller is rendering some view which needs 2 parameters:
client.id and client.name
and now, will it have a big impact on the speed performance if I will pass complete client object (can have lots of data) or not at all?