perf($compile): only re-$interpolate attributes values if the value has changed