I'm writing a rollup trigger to update a field at account level based on some criteria. Let's say there's a boolean field with true/ false values.
Should I check if the value has changed at original object before updating this field in my trigger ( for optimizing trigger performance )? ( Also meaning that I will include this field in a query ).
If the value is the same in both cases, will salesforce commit a change ( changing value to the same value ) or will salesforce be smart enough to skip the record if no change occurred?